diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-28 14:12:28 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-28 14:12:28 -0600 |
commit | ebc32c3071bcf8375cbd96ef202229d3e5f1dddd (patch) | |
tree | 502740a5062d6b6d197ffd2648f6a539ef033ef5 | |
parent | 698c2c1dbc9842fae1c26839418ba793896479ba (diff) | |
download | tqtinterface-ebc32c3071bcf8375cbd96ef202229d3e5f1dddd.tar.gz tqtinterface-ebc32c3071bcf8375cbd96ef202229d3e5f1dddd.zip |
Fix TQT_RGB_MASK FTBFS
-rw-r--r-- | qtinterface/tqt.h.cmake | 8 |
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 |