From b2d2b46723cd9ab4cb9f1dea919687d7da2f8ef1 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 7 Feb 2024 16:33:21 +0900 Subject: tqt-replace is no longer required Signed-off-by: Michele Calgaro --- modules/FindTQt.cmake | 11 ----------- modules/tde_uic.cmake | 2 -- 2 files changed, 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 ) -- cgit v1.2.1