summaryrefslogtreecommitdiffstats
path: root/qtinterface/tqt.h.cmake
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-28 14:12:28 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-28 14:12:28 -0600
commitebc32c3071bcf8375cbd96ef202229d3e5f1dddd (patch)
tree502740a5062d6b6d197ffd2648f6a539ef033ef5 /qtinterface/tqt.h.cmake
parent698c2c1dbc9842fae1c26839418ba793896479ba (diff)
downloadtqtinterface-ebc32c3071bcf8375cbd96ef202229d3e5f1dddd.tar.gz
tqtinterface-ebc32c3071bcf8375cbd96ef202229d3e5f1dddd.zip
Fix TQT_RGB_MASK FTBFS
Diffstat (limited to 'qtinterface/tqt.h.cmake')
-rw-r--r--qtinterface/tqt.h.cmake8
1 files changed, 6 insertions, 2 deletions
diff --git a/qtinterface/tqt.h.cmake b/qtinterface/tqt.h.cmake
index cb5f293..15badc6 100644
--- a/qtinterface/tqt.h.cmake
+++ b/qtinterface/tqt.h.cmake
@@ -959,7 +959,6 @@ Boston, MA 02110-1301, USA.
#define tqmoc moc
#define TQMOC MOC
-#define TQRGB_MASK RGB_MASK
#define WPaintOnScreen ((WFlags)0)
@@ -977,8 +976,13 @@ Boston, MA 02110-1301, USA.
#define TQ_ULONG Q_ULONG
#define TQ_ULLONG Q_ULLONG
-#ifndef TQT_REAL_TQT
+#ifdef TQT_REAL_TQT
+
+#define TQRGB_MASK TQT_RGB_MASK
+#else
+
+#define TQRGB_MASK RGB_MASK
#define tqRed qRed
#define tqGreen qGreen
#define tqBlue qBlue