Drop Qt5::Gui requirement

This commit is contained in:
Aleix Pol 2014-11-28 17:42:53 +01:00
parent 28faa9983d
commit 5285b8b9c2
2 changed files with 2 additions and 2 deletions

View file

@ -2,6 +2,6 @@ include_directories(${CMAKE_SOURCE_DIR})
add_executable(kdeconnect-cli kdeconnect-cli.cpp)
target_link_libraries(kdeconnect-cli kdeconnectinterfaces Qt5::Gui KF5::CoreAddons KF5::I18n)
target_link_libraries(kdeconnect-cli kdeconnectinterfaces KF5::CoreAddons KF5::I18n)
install(TARGETS kdeconnect-cli ${INSTALL_TARGETS_DEFAULT_ARGS})

View file

@ -30,7 +30,7 @@
int main(int argc, char** argv)
{
QGuiApplication app(argc, argv);
QCoreApplication app(argc, argv);
KAboutData about("kdeconnect-cli", i18n("kdeconnect-cli"), "1.0", i18n("KDE Connect CLI tool"),
KAboutLicense::GPL, i18n("(C) 2013 Aleix Pol Gonzalez"));
KAboutData::setApplicationData(about);