[Interest] QQmlExtensionPlugin not loading

Martin Leutelt martin.leutelt at basyskom.com
Fri Mar 9 14:20:18 CET 2018

 From:   Jesper Huijgens <jesper.huijgens at sioux.eu> 
 To:   <interest at qt-project.org> 
 Sent:   3/9/2018 2:04 PM 
 Subject:   [Interest] QQmlExtensionPlugin not loading 

Hi all, 
For our project we see that QQmlExtensionPlugins are not loaded. 
I made a very basic example project that creates a QQmlExtensionPlugin 
and an application that should use. The plugin, with the corresponding 
qmldir, are placed in a plugin subdir in the output directory of the 
The application sets both libraryPath and pluginPath. I output the 
pluginPathList(), I see what I think are the correct folders on the 
debug output. 
I placed a qDebug() in registerTypes of the plugin. I see nothing on the 
debug output. 
Setting QT_DEBUG_PLUGINS to 1 show me a lot of libraries being loaded. 
But not my plugin. 

Try QML_IMPORT_TRACE instead, since QT_DEBUG_PLUGINS is for debugging plugins for Qt itself, not the QML engine.

I work on KDE Neon with g++ 5.4.0, CMake 3.10.0 and Qt 5.10. 
Kind regards, 


Interest mailing list 
Interest at qt-project.org 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20180309/fb9212a3/attachment.html>

More information about the Interest mailing list