summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-11 21:31:54 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-11 21:31:54 +0000
commitdd95fc292579fe9750284f24aeb44c7bbfee2c13 (patch)
tree96a7422f4809d33b387823ce6206e9767fa92e77
parent18f876866ddafa3548798c32b544a54d2410c4ed (diff)
downloadother-dd95fc292579fe9750284f24aeb44c7bbfee2c13.tar.gz
other-dd95fc292579fe9750284f24aeb44c7bbfee2c13.zip
[kde-common/cmake] tde_uic: copy ui.h extension to binary dir
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common@1231438 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-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}