Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

import c++ type registered with qmlRegisterSingletonType

$
0
0
yep, the same for me. Qt Creator marks my import as an error but at the same time I’m able to run my application without any problems. But if I use qmlRegisterType instead of qmlRegisterSingletonType everything is ok. P.S. It’s actually one of the reasons why I’m thinking about using ContextProperty instead of registring singelton http://qt-project.org/forums/viewthread/37707/

Viewing all articles
Browse latest Browse all 4972

Trending Articles