Change in plasma-framework[master]: plasma_containmentactions_test: Link to KI18n

Heiko Becker (Code Review) noreply at kde.org
Tue Dec 9 18:18:19 UTC 2014


Heiko Becker has uploaded a new change for review.

  https://gerrit.vesnicky.cesnet.cz/r/210

Change subject: plasma_containmentactions_test: Link to KI18n
......................................................................

plasma_containmentactions_test: Link to KI18n

I get "CMakeFiles/plasma_containmentactions_test.dir/test.cpp.o:
test.cpp:function ContextTest::createConfigurationInterface(QWidget*):
error: undefined reference to 'ki18n(char const*)'"
errors otherwise when building with -DBUILD_EXAMPLES:BOOL=TRUE.

Change-Id: I9af913bf182fee20c1e59cd76c840b1e6350c269
---
M examples/testcontainmentactionsplugin/CMakeLists.txt
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.vesnicky.cesnet.cz:29418/plasma-framework refs/changes/10/210/1

diff --git a/examples/testcontainmentactionsplugin/CMakeLists.txt b/examples/testcontainmentactionsplugin/CMakeLists.txt
index 2b267dc..fb0021f 100644
--- a/examples/testcontainmentactionsplugin/CMakeLists.txt
+++ b/examples/testcontainmentactionsplugin/CMakeLists.txt
@@ -4,7 +4,7 @@
 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)
+target_link_libraries(plasma_containmentactions_test KF5::Plasma KF5::I18n KF5::KIOWidgets KF5::XmlGui)
 
 install(TARGETS plasma_containmentactions_test DESTINATION ${PLUGIN_INSTALL_DIR})
 install(FILES plasma-containmentactions-test.desktop DESTINATION ${SERVICES_INSTALL_DIR})

-- 
To view, visit https://gerrit.vesnicky.cesnet.cz/r/210
To unsubscribe, visit https://gerrit.vesnicky.cesnet.cz/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9af913bf182fee20c1e59cd76c840b1e6350c269
Gerrit-PatchSet: 1
Gerrit-Project: plasma-framework
Gerrit-Branch: master
Gerrit-Owner: Heiko Becker <heirecka at exherbo.org>
Gerrit-Reviewer: Marco Martin <notmart at gmail.com>


More information about the Plasma-devel mailing list