From 7c7a755f2d87d672ee8afc7d5656971297539fe3 Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Thu, 10 Mar 2016 12:12:31 +0100 Subject: Theme plugin with colorpalette --- framework/theme/CMakeLists.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 framework/theme/CMakeLists.txt (limited to 'framework/theme/CMakeLists.txt') diff --git a/framework/theme/CMakeLists.txt b/framework/theme/CMakeLists.txt new file mode 100644 index 00000000..4314f662 --- /dev/null +++ b/framework/theme/CMakeLists.txt @@ -0,0 +1,13 @@ +set(themeplugin_SRCS + themeplugin.cpp + colorpalette.cpp +) + +add_library(themeplugin SHARED ${themeplugin_SRCS}) + +qt5_use_modules(themeplugin Core Quick Qml) + +target_link_libraries(themeplugin) + +install(TARGETS themeplugin DESTINATION ${QML_INSTALL_DIR}/org/kube/framework/theme) +install(FILES qmldir DESTINATION ${QML_INSTALL_DIR}/org/kube/framework/theme) -- cgit v1.2.3 From 181b39ddd0b3c027341b228ab51482ce4413d3bb Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Thu, 10 Mar 2016 13:54:07 +0100 Subject: add scaling unit to the theme plugin and use it instaed of the main.qml unit item --- framework/theme/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'framework/theme/CMakeLists.txt') diff --git a/framework/theme/CMakeLists.txt b/framework/theme/CMakeLists.txt index 4314f662..319e3d39 100644 --- a/framework/theme/CMakeLists.txt +++ b/framework/theme/CMakeLists.txt @@ -1,6 +1,7 @@ set(themeplugin_SRCS themeplugin.cpp colorpalette.cpp + unit.cpp ) add_library(themeplugin SHARED ${themeplugin_SRCS}) -- cgit v1.2.3