summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-02-07 16:33:21 +0900
committerMichele Calgaro <[email protected]>2024-02-07 16:33:21 +0900
commitb2d2b46723cd9ab4cb9f1dea919687d7da2f8ef1 (patch)
treeee90c1a007c0987a7d6f66a5ef74dcb51026859d
parentea17fae58d4adb828dbead3e87dda9c604e2c8d5 (diff)
downloadtde-cmake-b2d2b46723cd9ab4cb9f1dea919687d7da2f8ef1.tar.gz
tde-cmake-b2d2b46723cd9ab4cb9f1dea919687d7da2f8ef1.zip
tqt-replace is no longer required
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r--modules/FindTQt.cmake11
-rw-r--r--modules/tde_uic.cmake2
2 files changed, 0 insertions, 13 deletions
diff --git a/modules/FindTQt.cmake b/modules/FindTQt.cmake
index 1aeffb7..82c2918 100644
--- a/modules/FindTQt.cmake
+++ b/modules/FindTQt.cmake
@@ -68,17 +68,6 @@ if( NOT TQT_FOUND )
tqt_message( " uic path: ${UIC_EXECUTABLE}" )
- # tqt-replace script
- set( TQT_REPLACE_SCRIPT "${TQT_PREFIX}/bin/tqt-replace"
- CACHE FILEPATH "TQt replace script path" )
-
- if( NOT EXISTS ${TQT_REPLACE_SCRIPT} )
- tde_message_fatal( "tqt-replace not found!\n Check tqt installation." )
- endif( )
-
- tqt_message( " tqt-replace path: ${TQT_REPLACE_SCRIPT}" )
-
-
# check if tqt is usable
tde_save( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES )
set( CMAKE_REQUIRED_INCLUDES ${TQT_INCLUDE_DIRS} )
diff --git a/modules/tde_uic.cmake b/modules/tde_uic.cmake
index 572781a..a00b54f 100644
--- a/modules/tde_uic.cmake
+++ b/modules/tde_uic.cmake
@@ -19,12 +19,10 @@ get_filename_component( _ui_basename ${UI_FILE} NAME_WE )
# FIXME this will working only on out-of-source mode
set( local_ui_file ${_ui_basename}.ui )
configure_file( ${UI_FILE} ${local_ui_file} COPYONLY )
-tde_execute_process( COMMAND ${TQT_REPLACE_SCRIPT} ${local_ui_file} )
# ui.h extension file, if exists
if( EXISTS "${UI_FILE}.h" )
configure_file( ${UI_FILE}.h ${local_ui_file}.h COPYONLY )
- tde_execute_process( COMMAND ${TQT_REPLACE_SCRIPT} ${local_ui_file}.h )
endif( )
if( TDE_TQTPLUGINS_DIR )