Question: How to use QQmlExtensionPlugin::initializeEngine(QQmlEngine*, const char*)



  • I want to expose some C++ property to qml in my plugin. QT help of QQmlExtensionPlugin tell me to use QQmlExtensionPlugin::initializeEngine to expose some data or object to QML. But no example for showing how to use QQmlExtensionPlugin::initializeEngine is available .

    Anyone can help me?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.