|
|
@ -19,12 +19,10 @@ get_filename_component( _ui_basename ${UI_FILE} NAME_WE )
|
|
|
|
# FIXME this will working only on out-of-source mode
|
|
|
|
# FIXME this will working only on out-of-source mode
|
|
|
|
set( local_ui_file ${_ui_basename}.ui )
|
|
|
|
set( local_ui_file ${_ui_basename}.ui )
|
|
|
|
configure_file( ${UI_FILE} ${local_ui_file} COPYONLY )
|
|
|
|
configure_file( ${UI_FILE} ${local_ui_file} COPYONLY )
|
|
|
|
tde_execute_process( COMMAND ${TQT_REPLACE_SCRIPT} ${local_ui_file} )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# ui.h extension file, if exists
|
|
|
|
# ui.h extension file, if exists
|
|
|
|
if( EXISTS "${UI_FILE}.h" )
|
|
|
|
if( EXISTS "${UI_FILE}.h" )
|
|
|
|
configure_file( ${UI_FILE}.h ${local_ui_file}.h COPYONLY )
|
|
|
|
configure_file( ${UI_FILE}.h ${local_ui_file}.h COPYONLY )
|
|
|
|
tde_execute_process( COMMAND ${TQT_REPLACE_SCRIPT} ${local_ui_file}.h )
|
|
|
|
|
|
|
|
endif( )
|
|
|
|
endif( )
|
|
|
|
|
|
|
|
|
|
|
|
if( TDE_TQTPLUGINS_DIR )
|
|
|
|
if( TDE_TQTPLUGINS_DIR )
|
|
|
|