Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-107464

qmlint: type qlonglong (qint64) not found

    XMLWordPrintable

Details

    • All

    Description

      class TestClass : public QObject
      {
          Q_OBJECT
          QML_ELEMENT
          QML_SINGLETON
          Q_PROPERTY(qint64 ...)
      }
      

      results in (see attached example):

      Warning: main.qml:23:23: Type "qlonglong" of property "importantNumber" not found. This is likely due to a missing dependency entry or a type not being exposed declaratively.
            text: TestClass.importantNumber
                            ^^^^^^^^^^^^^^^
      Error: main.qml:23:23: Could not compile binding for text: Cannot load property importantNumber from TestClass of TestClass.
            text: TestClass.importantNumber
                            ^^^^^^^^^^^^^^^
      

      Attachments

        Activity

          People

            qtqmlteam Qt Qml Team User
            Harald Meyer Harald Meyer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: