diff options
Diffstat (limited to 'qtinterface/tqt.h.cmake')
-rw-r--r-- | qtinterface/tqt.h.cmake | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/qtinterface/tqt.h.cmake b/qtinterface/tqt.h.cmake index 7395d05..e0e7ed1 100644 --- a/qtinterface/tqt.h.cmake +++ b/qtinterface/tqt.h.cmake @@ -197,11 +197,16 @@ Boston, MA 02110-1301, USA. #define TQSO_Default Default #define SO_Default Default #define tqstrcmp qstrcmp -#define tqqt_cast qt_cast #define tqt_dynamic_cast dynamic_cast #define TQImage_ScaleFree QImage::ScaleFree #define TQIODevice_OpenModeFlag int +#ifdef TQT_REAL_TQT +#define tqqt_cast tqt_cast +#else +#define tqqt_cast qt_cast +#endif + #ifndef TQT_REAL_TQT #define TQPOINT_OBJECT_NAME_STRING "QPoint" |