summaryrefslogtreecommitdiffstats
path: root/qtinterface
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-17 02:01:20 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-17 02:01:20 +0000
commitb88657a1f3b550c59edf5c182350b6ed3fdaa1bb (patch)
treea4ff83db830f758feeab3e21790e49df5a6a79a4 /qtinterface
parent8d222b689f06c479d58d0fc9f1923922a175709a (diff)
downloadtqtinterface-b88657a1f3b550c59edf5c182350b6ed3fdaa1bb.tar.gz
tqtinterface-b88657a1f3b550c59edf5c182350b6ed3fdaa1bb.zip
Fix TQt version detection
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/tqtinterface@1237072 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'qtinterface')
-rw-r--r--qtinterface/tqt.h.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/qtinterface/tqt.h.cmake b/qtinterface/tqt.h.cmake
index 9b84bc1..ac49cff 100644
--- a/qtinterface/tqt.h.cmake
+++ b/qtinterface/tqt.h.cmake
@@ -24,6 +24,8 @@ Boston, MA 02110-1301, USA.
#define USE_QT@QT_VERSION@
+#ifndef TQT_VERSION_ONLY
+
#ifdef USE_QT4
#define QT3_SUPPORT
#endif
@@ -1740,4 +1742,6 @@ class QUObject;
#define TQXmlDefaultHandler QXmlDefaultHandler
#endif
+#endif /* TQT_VERSION_ONLY */
+
#endif /* TQT_H */