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

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