Qt World Summit: Submit your Presentation


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