From b88657a1f3b550c59edf5c182350b6ed3fdaa1bb Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 17 Jun 2011 02:01:20 +0000 Subject: Fix TQt version detection git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/tqtinterface@1237072 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- qtinterface/tqt.h.cmake | 4 ++++ 1 file changed, 4 insertions(+) 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 */ -- cgit v1.2.1