summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-15 13:33:10 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-15 13:33:10 +0000
commit3f95ef7455b538c7929b752f97585ffa3126caa3 (patch)
tree3a30fb3ab3def7c22c79862ddd73aac2e53fe58e
parentdd95fc292579fe9750284f24aeb44c7bbfee2c13 (diff)
downloadother-3f95ef7455b538c7929b752f97585ffa3126caa3.tar.gz
other-3f95ef7455b538c7929b752f97585ffa3126caa3.zip
[kde-common/cmake] tde_uic.cmake: pass qtplugins argument to generator of header
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common@1232088 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--cmake/modules/tde_uic.cmake9
1 files changed, 5 insertions, 4 deletions
diff --git a/cmake/modules/tde_uic.cmake b/cmake/modules/tde_uic.cmake
index 78f7185..e0278c6 100644
--- a/cmake/modules/tde_uic.cmake
+++ b/cmake/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}