summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/plugin/qpluginloader/tst/tst.pro
diff options
context:
space:
mode:
authorDavid Faure <faure+bluesystems@kde.org>2012-12-03 12:29:10 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-12-04 18:38:41 +0100
commit418890e0748384eb684f33b10dc6f32493aee54b (patch)
treef3a6e1064e71046556466a92eda0fc7adcfebd04 /tests/auto/corelib/plugin/qpluginloader/tst/tst.pro
parentf6cc1f3aeae795e7ed67338b17b860df9f5146a7 (diff)
QPluginLoader: fix loading of plugins with a relative file name
This makes QT_PLUGIN_PATH / QCoreApplication::libraryPaths() actually work, as a search path for plugins, when apps look for a specific plugin by name. To make it possible to write portable code (unlike the current QPluginLoader unittest), let QPluginLoader figure out the extension, too. Change-Id: I895d597d7cb05ded268734bc5f313f32d8d12cb9 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'tests/auto/corelib/plugin/qpluginloader/tst/tst.pro')
-rw-r--r--tests/auto/corelib/plugin/qpluginloader/tst/tst.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/corelib/plugin/qpluginloader/tst/tst.pro b/tests/auto/corelib/plugin/qpluginloader/tst/tst.pro
index 48650a5727..a7a9661a54 100644
--- a/tests/auto/corelib/plugin/qpluginloader/tst/tst.pro
+++ b/tests/auto/corelib/plugin/qpluginloader/tst/tst.pro
@@ -4,6 +4,7 @@ TARGET = ../tst_qpluginloader
QT = core testlib
SOURCES = ../tst_qpluginloader.cpp
HEADERS = ../theplugin/plugininterface.h
+CONFIG -= app_bundle
win32 {
CONFIG(debug, debug|release) {