summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cmake/modules/tde_uic.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmake/modules/tde_uic.cmake b/cmake/modules/tde_uic.cmake
index a545828..78f7185 100644
--- a/cmake/modules/tde_uic.cmake
+++ b/cmake/modules/tde_uic.cmake
@@ -16,6 +16,12 @@ set( local_ui_file ${_ui_basename}.ui )
configure_file( ${UI_FILE} ${local_ui_file} COPYONLY )
execute_process( COMMAND tqt-replace ${local_ui_file} )
+# ui.h extension file, if exists
+if( EXISTS "${UI_FILE}.h" )
+ configure_file( ${UI_FILE}.h ${local_ui_file}.h COPYONLY )
+ execute_process( COMMAND tqt-replace ${local_ui_file}.h )
+endif( )
+
execute_process( COMMAND ${UIC_EXECUTABLE}
-nounload -tr tr2i18n
${local_ui_file}