summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qtinterface/tqt.h.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/qtinterface/tqt.h.cmake b/qtinterface/tqt.h.cmake
index 343d939..14d1ae5 100644
--- a/qtinterface/tqt.h.cmake
+++ b/qtinterface/tqt.h.cmake
@@ -977,6 +977,8 @@ Boston, MA 02110-1301, USA.
#define TQ_ULONG Q_ULONG
#define TQ_ULLONG Q_ULLONG
+#ifndef TQT_REAL_TQT
+
#define tqRed qRed
#define tqGreen qGreen
#define tqBlue qBlue
@@ -984,6 +986,9 @@ Boston, MA 02110-1301, USA.
#define tqRgb qRgb
#define tqRgba qRgba
#define tqGray qGray
+
+#endif
+
#define tqCompress qCompress
#define tqInstallMsgHandler qInstallMsgHandler