Skip to content

Commit

Permalink
Add dependency for Qt Quick Controls 2
Browse files Browse the repository at this point in the history
Summary: The app requires having Qt Quick Controls installed to launch

Test Plan:
 - Attempt to launch app without Qt Quick Controls 2 package installed
 - App should complain and not appear
 - Attempt to launch app with Qt Quick Controls 2
 - App should launch and display properly

Reviewers: #kde_connect, apol

Reviewed By: #kde_connect, apol

Subscribers: apol, kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D16718
  • Loading branch information
sredman committed Nov 7, 2018
1 parent a70c9aa commit b0e9cb3
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion CMakeLists.txt
Expand Up @@ -85,7 +85,14 @@ add_subdirectory(data)

option(EXPERIMENTALAPP_ENABLED OFF)
if(EXPERIMENTALAPP_ENABLED)
add_subdirectory(app)
find_package(KF5Kirigami2)
set_package_properties(KF5Kirigami2 PROPERTIES
DESCRIPTION "QtQuick plugins to build user interfaces based on KDE UX guidelines"
PURPOSE "Required for kcapp"
URL "https://www.kde.org/products/kirigami/"
TYPE RUNTIME
)
add_subdirectory(app)
endif()
add_subdirectory(plugins)
add_subdirectory(cli)
Expand Down

0 comments on commit b0e9cb3

Please sign in to comment.