diff options
Diffstat (limited to 'qtinterface/tqt.h.cmake')
-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 |