summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-09-25 01:20:40 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-09-25 01:20:40 +0900
commit0d32d36e86e994b09fb5d036e67c1f243cc525ef (patch)
tree891ab19588bad5bd2c0f9ae97b82ed0acdbfead1
parente884fb5b59156d1be7f99e76a7da4122776b2d80 (diff)
downloadtqtinterface-0d32d36e86e994b09fb5d036e67c1f243cc525ef.tar.gz
tqtinterface-0d32d36e86e994b09fb5d036e67c1f243cc525ef.zip
Remove QT_CLEAN_NAMESPACE/TQT_CLEAN_NAMESPACE unnecessary define.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--ConfigureChecks.cmake6
-rw-r--r--qtinterface/tqt.h.cmake1
2 files changed, 3 insertions, 4 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index a210e98..1947330 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -169,12 +169,12 @@ endif( )
# definitions
if( QT_VERSION STREQUAL "3" )
if( HAVE_REAL_TQT )
- set( QT_DEFINITIONS "-DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DTQT_THREAD_SUPPORT -D_REENTRANT" )
+ set( QT_DEFINITIONS "-DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DTQT_THREAD_SUPPORT -D_REENTRANT" )
else( )
- set( QT_DEFINITIONS "-DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT" )
+ set( QT_DEFINITIONS "-DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT" )
endif( )
elseif( QT_VERSION STREQUAL "4" )
- set( QT_DEFINITIONS "-DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT" )
+ set( QT_DEFINITIONS "-DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT" )
endif( )
diff --git a/qtinterface/tqt.h.cmake b/qtinterface/tqt.h.cmake
index 0c5f71a..69a7acc 100644
--- a/qtinterface/tqt.h.cmake
+++ b/qtinterface/tqt.h.cmake
@@ -133,7 +133,6 @@ Boston, MA 02110-1301, USA.
#endif
#define TQT_CHECK_INVALID_MAP_ELEMENT QT_CHECK_INVALID_MAP_ELEMENT
-#define TQT_CLEAN_NAMESPACE QT_CLEAN_NAMESPACE
#define TQT_PRODUCT_LICENSEE QT_PRODUCT_LICENSEE