Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.4.0
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 ^^^^^^^^^^^^^^^