diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-08 10:05:26 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-08 10:05:26 -0600 |
commit | 030bfdbd3dc9abb423faea1f8dc1e0da28b1e80d (patch) | |
tree | a374249c04994933c3e170f27555569b35ce94bb /qtinterface/tqt.h.cmake | |
parent | a4e15a70505e3859ef76b0a7ee30545104ae3640 (diff) | |
download | tqtinterface-030bfdbd3dc9abb423faea1f8dc1e0da28b1e80d.tar.gz tqtinterface-030bfdbd3dc9abb423faea1f8dc1e0da28b1e80d.zip |
Fix FTBFS
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" |