aboutsummaryrefslogtreecommitdiff
path: root/kde4/kde4uic.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'kde4/kde4uic.cmake')
-rw-r--r--kde4/kde4uic.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/kde4/kde4uic.cmake b/kde4/kde4uic.cmake
index 60fa6b9b..42382aac 100644
--- a/kde4/kde4uic.cmake
+++ b/kde4/kde4uic.cmake
@@ -37,6 +37,8 @@ ENDIF (KDE4_HEADER)
#replace tr218n("") with QString::null to avoid waring from KLocale
STRING(REGEX REPLACE "tr2i18n\\(\"\"\\)" "QString::null" _uic_CONTENTS "${_uic_CONTENTS}" )
STRING(REGEX REPLACE "tr2i18n\\(\"\", \"\"\\)" "QString::null" _uic_CONTENTS "${_uic_CONTENTS}" )
+STRING(REGEX REPLACE "\nuic3: [^\n]+" "" _uic_CONTENTS "${_uic_CONTENTS}" )
+STRING(REGEX REPLACE "\n'[^\n]+' [^\n]+" "" _uic_CONTENTS "${_uic_CONTENTS}" )
#replace image15_data with img15_filename to make enable_final work
STRING(REGEX REPLACE "image([0-9]+)_data" "img\\1_${KDE_UIC_BASENAME}" _uic_CONTENTS "${_uic_CONTENTS}")