summaryrefslogtreecommitdiffstats
path: root/modules/tde_uic.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'modules/tde_uic.cmake')
-rw-r--r--modules/tde_uic.cmake9
1 files changed, 5 insertions, 4 deletions
diff --git a/modules/tde_uic.cmake b/modules/tde_uic.cmake
index 78f7185..e0278c6 100644
--- a/modules/tde_uic.cmake
+++ b/modules/tde_uic.cmake
@@ -22,8 +22,13 @@ if( EXISTS "${UI_FILE}.h" )
execute_process( COMMAND tqt-replace ${local_ui_file}.h )
endif( )
+if( TDE_QTPLUGINS_DIR )
+ set( L -L ${TDE_QTPLUGINS_DIR} )
+endif( )
+
execute_process( COMMAND ${UIC_EXECUTABLE}
-nounload -tr tr2i18n
+ ${L}
${local_ui_file}
OUTPUT_VARIABLE _ui_h_content )
@@ -33,10 +38,6 @@ if( _ui_h_content )
file( WRITE ${_ui_basename}.h "${_ui_h_content}" )
endif( )
-if( TDE_QTPLUGINS_DIR )
- set( L -L ${TDE_QTPLUGINS_DIR} )
-endif( )
-
execute_process( COMMAND ${UIC_EXECUTABLE}
-nounload -tr tr2i18n
${L}