diff --git a/CMakeLists.txt b/CMakeLists.txt index 3f42e4300..c8f46cdc1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -41,7 +41,7 @@ endif() set (REQUIRED_QT_VERSION "5.2.0") -find_package(Qt5 ${REQUIRED_QT_VERSION} REQUIRED NO_MODULE COMPONENTS Quick Sql Qml Widgets Svg Script) +find_package(Qt5 ${REQUIRED_QT_VERSION} REQUIRED NO_MODULE COMPONENTS Quick Gui Sql Qml Widgets Svg Script) find_package(KF5Activities ${KF5_DEP_VERSION} REQUIRED) find_package(KF5Archive ${KF5_DEP_VERSION} REQUIRED) diff --git a/autotests/CMakeLists.txt b/autotests/CMakeLists.txt index 6cab5a098..cda9f0364 100644 --- a/autotests/CMakeLists.txt +++ b/autotests/CMakeLists.txt @@ -35,7 +35,7 @@ PLASMA_UNIT_TESTS( ) add_executable(storagetest storagetest.cpp ../src/plasma/private/storage.cpp ../src/plasma/private/storagethread.cpp) -target_link_libraries(storagetest Qt5::Test Qt5::Sql KF5::KIOCore KF5::Plasma KF5::CoreAddons ) +target_link_libraries(storagetest Qt5::Gui Qt5::Test Qt5::Sql KF5::KIOCore KF5::Plasma KF5::CoreAddons ) add_test(plasma-storagetest storagetest) ecm_mark_as_test(storagetest) diff --git a/src/plasmaquick/CMakeLists.txt b/src/plasmaquick/CMakeLists.txt index bf114ec29..cc5554afb 100644 --- a/src/plasmaquick/CMakeLists.txt +++ b/src/plasmaquick/CMakeLists.txt @@ -36,6 +36,7 @@ target_include_directories(KF5PlasmaQuick PUBLIC "$parser = parser;