diff options
author | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2016-08-26 11:58:34 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2016-08-26 11:17:51 +0000 |
commit | f025ce23a742495c6cb7badad5b561a9eeb94025 (patch) | |
tree | e4fe0da00391c79b880570c3133866a029a280eb /tests | |
parent | 6a68408fd36eebf32e1131e9e7b6559c4ef9cec4 (diff) | |
download | qtlocation-f025ce23a742495c6cb7badad5b561a9eeb94025.tar.gz |
Improve robustness of QML plugin loading
Use a variable that expands to the latest plugin version instead of
hard-coding the string.
Change-Id: I8f7864e4ead85487943ed2c4dc2ae2584005c1c9
Reviewed-by: Paolo Angelelli <paolo.angelelli@theqtcompany.com>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/plugins/declarativetestplugin/locationtest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/plugins/declarativetestplugin/locationtest.cpp b/tests/plugins/declarativetestplugin/locationtest.cpp index f0389d90..44e74e86 100644 --- a/tests/plugins/declarativetestplugin/locationtest.cpp +++ b/tests/plugins/declarativetestplugin/locationtest.cpp @@ -48,7 +48,7 @@ static QObject *helper_factory(QQmlEngine *engine, QJSEngine *scriptEngine) class QLocationDeclarativeTestModule: public QQmlExtensionPlugin { Q_OBJECT - Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface/1.0") + Q_PLUGIN_METADATA(IID QQmlExtensionInterface_iid) public: virtual void registerTypes(const char* uri) { |