diff options
author | Liang Qi <liang.qi@qt.io> | 2017-04-21 11:09:08 +0200 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2017-04-21 11:09:08 +0200 |
commit | 1fd79bfd906de6e630f813417fced24cfca97f4b (patch) | |
tree | 3f2c970c162b127d518800381bde96cf1e982145 /tests/auto/unit/qmediaserviceprovider/tst_qmediaserviceprovider.cpp | |
parent | 684456d8fbdb80d621e3c4838544c2878e3f2a43 (diff) | |
parent | 021e8989308fba30425e7a0f34f4e176a8aa3ccf (diff) |
Merge remote-tracking branch 'origin/5.9' into dev
Change-Id: I06cd631ca9d3b6b2ed5709a7697a26b9eb7171d1
Diffstat (limited to 'tests/auto/unit/qmediaserviceprovider/tst_qmediaserviceprovider.cpp')
-rw-r--r-- | tests/auto/unit/qmediaserviceprovider/tst_qmediaserviceprovider.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/unit/qmediaserviceprovider/tst_qmediaserviceprovider.cpp b/tests/auto/unit/qmediaserviceprovider/tst_qmediaserviceprovider.cpp index f5488db08..e4bb719e6 100644 --- a/tests/auto/unit/qmediaserviceprovider/tst_qmediaserviceprovider.cpp +++ b/tests/auto/unit/qmediaserviceprovider/tst_qmediaserviceprovider.cpp @@ -83,7 +83,9 @@ private: void tst_QMediaServiceProvider::initTestCase() { // QMediaPluginLoader::setStaticPlugins(QLatin1String("mediaservice"), plugins); +#if QT_CONFIG(library) QCoreApplication::setLibraryPaths(QStringList() << QCoreApplication::applicationDirPath()); +#endif } void tst_QMediaServiceProvider::testDefaultProviderAvailable() |