Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Custom QML Object creating error



  • Hi;

    when ChQuSession create by application "Cannot assign to non-existent default property" error (*) occurs... if ChQuSessionController removed, it is ok.

    ChQuSesion
    {
    id : chQuSession

    ChQuSessionController (*)
    {
    	id		:	chQuSessionController
    }
    

    }

    class CChQuSession
    : public QObject
    , public QQmlParserStatus
    {
    Q_OBJECT

    Q_INTERFACES(QQmlParserStatus)
    .
    ..
    ...
    

    };

    class CChQuSessionController
    : public QObject
    , public QQmlParserStatus
    {
    Q_OBJECT

    Q_INTERFACES(QQmlParserStatus)
    .
    ..
    ...
    

    };

    ..any idea ?

    thanks !




Log in to reply