summaryrefslogtreecommitdiffstats
path: root/qt3-tqt3/tqt3_fixups.diff
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-11-07 17:52:54 -0600
committerTimothy Pearson <[email protected]>2011-11-07 17:52:54 -0600
commit8adb519a37d7a31b4d05203f2a652292bc989945 (patch)
tree46a74cb574ddb15e79b54e077a5972505f29dc89 /qt3-tqt3/tqt3_fixups.diff
parent4013136b98d8312ec8d0b0e447ae5dbf88383079 (diff)
downloadexperimental-8adb519a37d7a31b4d05203f2a652292bc989945.tar.gz
experimental-8adb519a37d7a31b4d05203f2a652292bc989945.zip
Set TQT_REAL_TQT when tqt3 is created
Diffstat (limited to 'qt3-tqt3/tqt3_fixups.diff')
-rw-r--r--qt3-tqt3/tqt3_fixups.diff12
1 files changed, 12 insertions, 0 deletions
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.