summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Fernengel <harald.fernengel@nokia.com>2009-12-16 13:43:43 (GMT)
committerHarald Fernengel <harald.fernengel@nokia.com>2010-03-03 14:50:17 (GMT)
commit4a961ad412846af126ece6d9e2385e3ebe009d72 (patch)
treeef9610c24c6a0bd613f708cfc18a97cb52305abb
parent6ecee3c9790678d34b6d159a10d509d0f9244bc8 (diff)
downloadQt-4a961ad412846af126ece6d9e2385e3ebe009d72.zip
Qt-4a961ad412846af126ece6d9e2385e3ebe009d72.tar.gz
Qt-4a961ad412846af126ece6d9e2385e3ebe009d72.tar.bz2
be more verbose when warning about incompatible libraries
-rw-r--r--src/corelib/kernel/qobject.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/kernel/qobject.cpp b/src/corelib/kernel/qobject.cpp
index 761b31f..8e4ec7c 100644
--- a/src/corelib/kernel/qobject.cpp
+++ b/src/corelib/kernel/qobject.cpp
@@ -132,7 +132,8 @@ QObjectPrivate::QObjectPrivate(int version)
: threadData(0), connectionLists(0), senders(0), currentSender(0), currentChildBeingDeleted(0)
{
if (version != QObjectPrivateVersion)
- qFatal("Cannot mix incompatible Qt libraries");
+ qFatal("Cannot mix incompatible Qt library (version 0x%x) with this library (version 0x%x)",
+ version, QObjectPrivateVersion);
// QObjectData initialization
q_ptr = 0;