summaryrefslogtreecommitdiffstats
path: root/src/corelib/plugin/qlibrary.cpp
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@nokia.com>2009-12-08 09:10:52 (GMT)
committerMorten Johan Sørvig <morten.sorvig@nokia.com>2009-12-08 09:10:52 (GMT)
commit3f5e4ed4d2b110f4c6e952b74c9f852a2dc14a54 (patch)
treebdd95d791244c6cc72a19a48118ab72ff5edcfb2 /src/corelib/plugin/qlibrary.cpp
parent55be2d1d684d4505db3bbf76da0cf8326cee9468 (diff)
parentdfbdb86fd4614be9be17cbfb602ed5a3b5a38671 (diff)
downloadQt-3f5e4ed4d2b110f4c6e952b74c9f852a2dc14a54.zip
Qt-3f5e4ed4d2b110f4c6e952b74c9f852a2dc14a54.tar.gz
Qt-3f5e4ed4d2b110f4c6e952b74c9f852a2dc14a54.tar.bz2
Merge branch '4.6' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.6
Diffstat (limited to 'src/corelib/plugin/qlibrary.cpp')
-rw-r--r--src/corelib/plugin/qlibrary.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/plugin/qlibrary.cpp b/src/corelib/plugin/qlibrary.cpp
index 6496876..ea0254b 100644
--- a/src/corelib/plugin/qlibrary.cpp
+++ b/src/corelib/plugin/qlibrary.cpp
@@ -744,7 +744,7 @@ bool QLibraryPrivate::isPlugin(QSettings *settings)
pluginState = IsNotAPlugin; // be pessimistic
- if ((qt_version > QT_VERSION) || ((QT_VERSION & 0xff0000) > (qt_version & 0xff0000))) {
+ if ((qt_version & 0x00ff00) > (QT_VERSION & 0x00ff00) || (qt_version & 0xff0000) != (QT_VERSION & 0xff0000)) {
if (qt_debug_component()) {
qWarning("In %s:\n"
" Plugin uses incompatible Qt library (%d.%d.%d) [%s]",