use correct ki18n_wrap_ui in ki18n based plasma-frameworks

REVIEW:121065
This commit is contained in:
Burkhard Lück 2014-11-10 10:02:37 +01:00
parent 4390aa5536
commit a609b5a237
3 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ set(plasma_example_kpart_shell_SRCS
appletselector.cpp
)
qt5_wrap_ui(plasma_example_kpart_shell_SRCS appletselector.ui)
ki18n_wrap_ui(plasma_example_kpart_shell_SRCS appletselector.ui)
add_executable(plasma-example-kpart-shell ${plasma_example_kpart_shell_SRCS})
target_link_libraries(plasma-example-kpart-shell KF5::Plasma KF5::Parts)

View File

@ -1,7 +1,7 @@
set(test_SRCS
test.cpp
)
qt5_wrap_ui(test_SRCS config.ui)
ki18n_wrap_ui(test_SRCS config.ui)
add_library(plasma_containmentactions_test MODULE ${test_SRCS})
target_link_libraries(plasma_containmentactions_test KF5::Plasma KF5::KIOWidgets KF5::XmlGui)

View File

@ -13,7 +13,7 @@
for FS in `find $PWD -type f -name 'CMakeLists.txt'`; do
perl -p -i -e 's/plasma_add_plugin\(([a-zA-Z_\-]+) /add_library(\1 MODULE /g' $FS
perl -p -i -e 's/kde4_add_plugin *\( *([a-zA-Z_\-]+) /add_library(\1 MODULE /g' $FS
perl -p -i -e 's/kde4_add_ui_files/qt5_wrap_ui/g' $FS
perl -p -i -e 's/kde4_add_ui_files/ki18n_wrap_ui/g' $FS
perl -p -i -e 's/qt4_wrap_ui/qt5_wrap_ui/g' $FS
perl -p -i -e 's/kde4_add_kdeinit_executable/kf5_add_kdeinit_executable/g' $FS
perl -p -i -e 's/kde4_add_library/add_library/g' $FS