summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqt.h.cmake
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-17 01:34:11 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-17 01:34:11 +0000
commit8d222b689f06c479d58d0fc9f1923922a175709a (patch)
tree9f0a8302d40cb023e1cf695124b154a1496d2cc0 /qtinterface/tqt.h.cmake
parenta4bc52452496422f308cc37fbbc8ce894e3c9725 (diff)
downloadtqtinterface-8d222b689f06c479d58d0fc9f1923922a175709a.tar.gz
tqtinterface-8d222b689f06c479d58d0fc9f1923922a175709a.zip
Fix TQT_NO_SQL
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/tqtinterface@1237067 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'qtinterface/tqt.h.cmake')
-rw-r--r--qtinterface/tqt.h.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/qtinterface/tqt.h.cmake b/qtinterface/tqt.h.cmake
index 4d382d7..9b84bc1 100644
--- a/qtinterface/tqt.h.cmake
+++ b/qtinterface/tqt.h.cmake
@@ -45,6 +45,13 @@ Boston, MA 02110-1301, USA.
#endif /* __cplusplus */
#ifdef USE_QT3
+
+#include <qglobal.h>
+
+#ifdef QT_NO_SQL
+#define TQT_NO_SQL
+#endif // QT_NO_SQL
+
#define TQ_OBJECT /* UNUSED */
#define TQWIDGETSIZE_MAX QWIDGETSIZE_MAX