fix build
This commit is contained in:
parent
48aa4e9186
commit
fd87694c8d
@ -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)
|
||||
|
@ -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)
|
||||
|
||||
|
@ -36,6 +36,7 @@ target_include_directories(KF5PlasmaQuick PUBLIC "$<BUILD_INTERFACE:${CMAKE_CURR
|
||||
|
||||
target_link_libraries(KF5PlasmaQuick
|
||||
PUBLIC
|
||||
Qt5::Gui
|
||||
Qt5::Quick
|
||||
Qt5::Qml
|
||||
KF5::Plasma
|
||||
|
@ -3,7 +3,7 @@ add_executable(plugintest
|
||||
plugintest.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(plugintest KF5::Plasma KF5::I18n KF5::Service Qt5::DBus)
|
||||
target_link_libraries(plugintest KF5::Plasma KF5::I18n KF5::Service Qt5::DBus Qt5::Gui)
|
||||
|
||||
#install(TARGETS plugintest ${KF5_INSTALL_TARGETS_DEFAULT_ARGS})
|
||||
|
||||
|
@ -58,7 +58,7 @@ public:
|
||||
};
|
||||
|
||||
PluginTest::PluginTest(int &argc, char **argv, QCommandLineParser *parser) :
|
||||
QApplication(argc, argv)
|
||||
QGuiApplication(argc, argv)
|
||||
{
|
||||
d = new PluginTestPrivate;
|
||||
d->parser = parser;
|
||||
|
Loading…
Reference in New Issue
Block a user