summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/plugin/plugin.pro
diff options
context:
space:
mode:
authorJonas Rabbe <jonas.rabbe@nokia.com>2012-03-28 12:07:19 +1000
committerQt by Nokia <qt-info@nokia.com>2012-03-29 13:58:13 +0200
commit5185a28139800a9fef49dabc6c110e017f83cdd6 (patch)
treed2cf684c09969392847e07a7038a64eb91980855 /tests/auto/corelib/plugin/plugin.pro
parentd3c6664fb070f3a0a2ca26206478834a3810089e (diff)
Fix a crash in QFactoryLoader
The change in plugin loading has meant that different plugins in the same plugin folder will not be handled properly when loaded with different instances of QFactoryLoader. A solution is to only unload compatability plugins from QFactoryLoader::update() since they are the only plugins that are actually loaded in that method. This auto test shows the error on the current version of QFactoryLoader and passes with the fix described above. Change-Id: I12001525d51bb631d6742c5965357598322f247c Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'tests/auto/corelib/plugin/plugin.pro')
-rw-r--r--tests/auto/corelib/plugin/plugin.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/corelib/plugin/plugin.pro b/tests/auto/corelib/plugin/plugin.pro
index 24de36e4ec..506f6abaeb 100644
--- a/tests/auto/corelib/plugin/plugin.pro
+++ b/tests/auto/corelib/plugin/plugin.pro
@@ -1,5 +1,6 @@
TEMPLATE=subdirs
SUBDIRS=\
+ qfactoryloader \
qlibrary \
qplugin \
qpluginloader \