From 8adb519a37d7a31b4d05203f2a652292bc989945 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 7 Nov 2011 17:52:54 -0600 Subject: Set TQT_REAL_TQT when tqt3 is created --- qt3-tqt3/tqt3_fixups.diff | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/qt3-tqt3/tqt3_fixups.diff b/qt3-tqt3/tqt3_fixups.diff index 229e638..883bf4a 100644 --- a/qt3-tqt3/tqt3_fixups.diff +++ b/qt3-tqt3/tqt3_fixups.diff @@ -132,3 +132,15 @@ diff -ur tools/designer/uic/form.cpp tools/designer/uic/form.cpp globalIncludes += "qheader.h"; if ( name != objClass ) { int wid = WidgetDatabase::idFromClassName( name ); +diff -ur src/tools/qglobal.h src/tools/qglobal.h +--- src/tools/qglobal.h ++++ src/tools/qglobal.h +@@ -41,6 +41,8 @@ + #ifndef TQGLOBAL_H + #define TQGLOBAL_H + ++#define TQT_REAL_TQT 1 ++ + #define QT_VERSION_STR "3.3.8d" + /* + QT_VERSION is (major << 16) + (minor << 8) + patch. -- cgit v1.2.1