diff options
author | Sebastian Lösch <Sebastian.Loesch@governikus.de> | 2016-03-24 12:09:31 +0100 |
---|---|---|
committer | Sebastian Lösch <Sebastian.Loesch@governikus.com> | 2016-04-11 14:10:54 +0000 |
commit | 392c7b99348e2a96ef11adb5712095fbd13fb780 (patch) | |
tree | 725983522306909efc333e7a710c80723a10612e /src/imports/folderlistmodel | |
parent | 07b7c6efaa75b79b0625de81dc8f7e6ca264e16e (diff) |
Instantiate static Qml plugins declaring QQmlExtensionInterface only
When instantiating static plugins no check is done whether the
QQmlExtensionInterface is declared. Therefore all user plugins are
instantiated in the Qml thread, which may cause problems.
Task-number: QTBUG-52012
Change-Id: Ia91ec5ec7b2a9721bd11e3648cdc161855b4454e
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/imports/folderlistmodel')
-rw-r--r-- | src/imports/folderlistmodel/plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/folderlistmodel/plugin.cpp b/src/imports/folderlistmodel/plugin.cpp index a2536bdc7d..400989d3dd 100644 --- a/src/imports/folderlistmodel/plugin.cpp +++ b/src/imports/folderlistmodel/plugin.cpp @@ -42,7 +42,7 @@ QT_BEGIN_NAMESPACE class QmlFolderListModelPlugin : public QQmlExtensionPlugin { Q_OBJECT - Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface") + Q_PLUGIN_METADATA(IID QQmlExtensionInterface_iid) public: virtual void registerTypes(const char *uri) |