3 # used internally by KDE3Macros.cmake
7 EXECUTE_PROCESS(COMMAND ${KDE_UIC_EXECUTABLE}
8 -L ${KDE_UIC_PLUGIN_DIR} -nounload -tr tr2i18n
9 -impl ${KDE_UIC_H_FILE}
11 OUTPUT_VARIABLE _uic_CONTENTS
15 STRING(REGEX REPLACE "tr2i18n\\(\"\"\\)" "QString::null" _uic_CONTENTS "${_uic_CONTENTS}" )
16 STRING(REGEX REPLACE "tr2i18n\\(\"\", \"\"\\)" "QString::null" _uic_CONTENTS "${_uic_CONTENTS}" )
18 FILE(WRITE ${KDE_UIC_CPP_FILE} "#include <kdialog.h>\n#include <klocale.h>\n\n")
19 FILE(APPEND ${KDE_UIC_CPP_FILE} "${_uic_CONTENTS}")