Warning, /maui/mauikit/src/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # SPDX-FileCopyrightText: 2020 Camilo Higuita <milo.h@aol.com>
0002 #
0003 # SPDX-License-Identifier: GPL-3.0-or-later
0004 
0005 include_directories(
0006     ${CMAKE_CURRENT_SOURCE_DIR}/utils
0007     ${CMAKE_CURRENT_BINARY_DIR}/utils
0008 
0009     ${CMAKE_CURRENT_SOURCE_DIR}/utils/models
0010     ${CMAKE_CURRENT_BINARY_DIR}/utils/models
0011 
0012     ${CMAKE_CURRENT_SOURCE_DIR}/utils/model_template
0013     ${CMAKE_CURRENT_BINARY_DIR}/utils/model_template
0014 
0015     ${CMAKE_CURRENT_SOURCE_DIR}/libs
0016     ${CMAKE_CURRENT_BINARY_DIR}/libs
0017 
0018     ${CMAKE_CURRENT_SOURCE_DIR}/platforms
0019     ${CMAKE_CURRENT_BINARY_DIR}/platforms)
0020 
0021 if (QT_MAJOR_VERSION STREQUAL "6")
0022     add_library(MauiKit${MAUI_MAJOR_VERSION})
0023 endif()
0024 
0025 ecm_add_qml_module(MauiKit${MAUI_MAJOR_VERSION}
0026     VERSION 1.3
0027     URI "org.mauikit.controls"
0028     CLASS_NAME MauiKit
0029     DEPENDENCIES
0030     "QtQuick.Controls"
0031     "Qt5Compat.GraphicalEffects"
0032     NO_PLUGIN_OPTIONAL)
0033 
0034 set_target_properties(MauiKit${MAUI_MAJOR_VERSION} PROPERTIES
0035     VERSION     ${PROJECT_VERSION}
0036     SOVERSION   ${MAUI_MAJOR_VERSION}
0037     EXPORT_NAME "MauiKit${MAUI_MAJOR_VERSION}")
0038 
0039 add_library(MauiKit${MAUI_MAJOR_VERSION}::Controls ALIAS MauiKit${MAUI_MAJOR_VERSION})
0040 
0041 target_sources(MauiKit${MAUI_MAJOR_VERSION}
0042 
0043     PRIVATE
0044     libs/appview.h
0045     libs/tabview.h
0046 
0047     libs/style.cpp
0048     libs/style.h
0049 
0050     libs/controls.cpp
0051     libs/controls.h
0052 
0053     utils/icon.cpp
0054     utils/icon.h
0055 
0056     utils/fmh.cpp
0057     utils/fmh.h
0058 
0059     utils/mauiapp.cpp
0060     utils/mauiapp.h
0061 
0062     utils/handy.cpp
0063     utils/handy.h
0064 
0065     utils/notify.cpp
0066     utils/notify.h
0067 
0068     utils/platformtheme.cpp
0069     utils/platformtheme.h
0070 
0071     utils/basictheme.cpp
0072 
0073     utils/imagecolors.cpp
0074     utils/imagecolors.h
0075 
0076     utils/colorutils.cpp
0077     utils/colorutils.h
0078 
0079     utils/wheelhandler.cpp
0080     utils/wheelhandler.h
0081 
0082     utils/model_template/mauilist.cpp
0083     utils/model_template/mauilist.h
0084 
0085     utils/model_template/mauimodel.cpp
0086     utils/model_template/mauimodel.h
0087 
0088     platforms/abstractplatform.cpp
0089     platforms/abstractplatform.h
0090 
0091     platforms/platform.cpp
0092     platforms/platform.h
0093 
0094     utils/managedtexturenode.cpp
0095     utils/managedtexturenode.h
0096 
0097     utils/moduleinfo.cpp
0098     utils/moduleinfo.h
0099 
0100     utils/fontpickermodel.cpp
0101     utils/fontpickermodel.h
0102 
0103     assets.qrc)
0104 
0105 set(mauikit_HDRS
0106     utils/fmh.h
0107     utils/handy.h
0108     utils/notify.h
0109     utils/mauiapp.h
0110     utils/imagecolors.h
0111     utils/colorutils.h
0112     utils/model_template/mauilist.h
0113     utils/moduleinfo.h)
0114 
0115 if (QT_MAJOR_VERSION STREQUAL "6")
0116     target_sources(MauiKit${MAUI_MAJOR_VERSION}plugin
0117         PRIVATE
0118         mauikit.cpp
0119         mauikit.h)
0120 else()
0121     target_sources(MauiKit${MAUI_MAJOR_VERSION}
0122         PRIVATE
0123         mauikit.cpp
0124         mauikit.h)
0125 endif()
0126 
0127 if (QT_MAJOR_VERSION STREQUAL "5")
0128     if(QUICK_COMPILER)
0129         qtquick_compiler_add_resources(mauikit_QML_QRC mauikit.qrc style.5/style.qrc)
0130     else()
0131         qt5_add_resources(mauikit_QML_QRC mauikit.qrc style.5/style.qrc)
0132     endif()
0133 endif()
0134 
0135 if(${SUPPORT_PLUGINS})
0136     message(STATUS "INCLUDING PLUGINS SUPPORT")
0137     set(mauikitplugin_SRCS
0138         utils/plugin/pluginmanager.cpp)
0139 
0140     set(mauikitplugin_HDRS
0141         utils/plugin/pluginmanager.h)
0142 
0143     include_directories(
0144         ${CMAKE_CURRENT_SOURCE_DIR}/utils/plugin/
0145         ${CMAKE_CURRENT_BINARY_DIR}/utils/plugin )
0146     add_definitions(-DSUPPORT_PLUGINS)
0147 endif()
0148 
0149 if(BUNDLE_LUV_ICONS)
0150     if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/icons/luv-icon-theme/.git)
0151         find_package(Git REQUIRED)
0152         execute_process(COMMAND ${GIT_EXECUTABLE} clone --depth 1 https://github.com/Nitrux/luv-icon-theme.git ${CMAKE_CURRENT_SOURCE_DIR}/icons/luv-icon-theme)
0153     endif()
0154 
0155     target_sources(MauiKit${MAUI_MAJOR_VERSION} PRIVATE icons.qrc)
0156 endif()
0157 
0158 if (ANDROID)
0159 
0160 #    configure_file(${CMAKE_CURRENT_SOURCE_DIR}/platforms/android/version.gradle.in ${CMAKE_BINARY_DIR}/version.gradle)
0161 
0162     add_subdirectory(platforms/android)
0163 
0164     target_sources(MauiKit${MAUI_MAJOR_VERSION}
0165         PRIVATE
0166         platforms/android/mauiandroid.cpp
0167         platforms/android/mauiandroid.h
0168 
0169         platforms/android/blurhelper/windowblur.cpp
0170         platforms/android/shadowhelper/boxshadowrenderer.cpp
0171         platforms/android/shadowhelper/tileset.cpp
0172         platforms/android/shadowhelper/windowshadow.cpp)
0173 
0174     #    kde_enable_exceptions(MauiKit PRIVATE)
0175 elseif(UNIX AND NOT APPLE)
0176 
0177     set(kwin_XCB_LIBS
0178         XCB::ICCCM
0179         XCB::SHAPE
0180         XCB::XCB)
0181 
0182     include_directories(
0183         ${CMAKE_CURRENT_SOURCE_DIR}/platforms/linux/blurhelper
0184         ${CMAKE_CURRENT_BINARY_DIR}/platforms/linux/blurhelper
0185 
0186         ${CMAKE_CURRENT_SOURCE_DIR}/platforms/linux/shadowhelper
0187         ${CMAKE_CURRENT_BINARY_DIR}/platforms/linux/shadowhelper)
0188 
0189     set(mauikit_PLATFORM_HDRS
0190         platforms/linux/mauilinux.h)
0191 
0192     target_sources(MauiKit${MAUI_MAJOR_VERSION}
0193 
0194         PRIVATE
0195         platforms/linux/mauilinux.cpp
0196         platforms/linux/mauilinux.h
0197 
0198         platforms/linux/blurhelper/windowblur.cpp
0199         platforms/linux/blurhelper/windowblur.h
0200 
0201         platforms/linux/shadowhelper/boxshadowrenderer.cpp
0202         platforms/linux/shadowhelper/boxshadowrenderer.h
0203 
0204         platforms/linux/shadowhelper/tileset.cpp
0205         platforms/linux/shadowhelper/tileset.h
0206 
0207         platforms/linux/shadowhelper/windowshadow.cpp
0208         platforms/linux/shadowhelper/windowshadow.h)
0209 
0210 elseif(APPLE)
0211     #    set(CMAKE_CXX_FLAGS "-x objective-c++")
0212 
0213     set(mauikit_PLATFORM_SRCS
0214         platforms/macos/mauimacos.cpp)
0215 
0216     set(mauikit_PLATFORM_HDRS
0217         platforms/macos/mauimacos.h)
0218     # Temporarily share blur, shawdow implementation for Windows
0219     set(window_PLATFORM_SRCS
0220         platforms/windows/blurhelper/windowblur.cpp
0221         platforms/windows/shadowhelper/boxshadowrenderer.cpp
0222         platforms/windows/shadowhelper/tileset.cpp
0223         platforms/windows/shadowhelper/windowshadow.cpp)
0224     set(window_PLATFORM_HDRS
0225         platforms/windows/blurhelper/windowblur.h
0226         platforms/windows/shadowhelper/boxshadowrenderer.h
0227         platforms/windows/shadowhelper/tileset.h
0228         platforms/windows/shadowhelper/windowshadow.h)
0229 elseif(WIN32)
0230     set(mauikit_PLATFORM_SRCS
0231         platforms/windows/mauiwindows.cpp)
0232 
0233     set(mauikit_PLATFORM_HDRS
0234         platforms/windows/mauiwindows.h)
0235 
0236     set(window_PLATFORM_SRCS
0237         platforms/windows/blurhelper/windowblur.cpp
0238         platforms/windows/shadowhelper/boxshadowrenderer.cpp
0239         platforms/windows/shadowhelper/tileset.cpp
0240         platforms/windows/shadowhelper/windowshadow.cpp)
0241 
0242     set(window_PLATFORM_HDRS
0243         platforms/windows/blurhelper/windowblur.h
0244         platforms/windows/shadowhelper/boxshadowrenderer.h
0245         platforms/windows/shadowhelper/tileset.h
0246         platforms/windows/shadowhelper/windowshadow.h)
0247 endif()
0248 
0249 ecm_target_qml_sources(MauiKit${MAUI_MAJOR_VERSION} SOURCES
0250 
0251     controls.${QT_MAJOR_VERSION}/AltBrowser.qml
0252     controls.${QT_MAJOR_VERSION}/AnimatedImageViewer.qml
0253     controls.${QT_MAJOR_VERSION}/ApplicationWindow.qml
0254     controls.${QT_MAJOR_VERSION}/AppViews.qml
0255     controls.${QT_MAJOR_VERSION}/AppViewLoader.qml
0256 
0257     controls.${QT_MAJOR_VERSION}/Badge.qml
0258 
0259     controls.${QT_MAJOR_VERSION}/CollageItem.qml
0260 
0261     controls.${QT_MAJOR_VERSION}/ColorsRow.qml
0262     controls.${QT_MAJOR_VERSION}/ContextualMenu.qml
0263     controls.${QT_MAJOR_VERSION}/Chip.qml
0264     controls.${QT_MAJOR_VERSION}/CloseButton.qml
0265     controls.${QT_MAJOR_VERSION}/CSDControls.qml
0266 
0267     controls.${QT_MAJOR_VERSION}/DialogWindow.qml
0268     controls.${QT_MAJOR_VERSION}/Doodle.qml
0269     controls.${QT_MAJOR_VERSION}/DoodleCanvas.qml
0270 
0271     controls.${QT_MAJOR_VERSION}/FileListingDialog.qml
0272     controls.${QT_MAJOR_VERSION}/FlexListItem.qml
0273     controls.${QT_MAJOR_VERSION}/FlexSectionItem.qml
0274     controls.${QT_MAJOR_VERSION}/FloatingButton.qml
0275     controls.${QT_MAJOR_VERSION}/FontsComboBox.qml
0276     controls.${QT_MAJOR_VERSION}/FontPicker.qml
0277     controls.${QT_MAJOR_VERSION}/FontPickerDialog.qml
0278 
0279     controls.${QT_MAJOR_VERSION}/GalleryRollTemplate.qml
0280     controls.${QT_MAJOR_VERSION}/GalleryRollItem.qml
0281     controls.${QT_MAJOR_VERSION}/GridBrowser.qml
0282     controls.${QT_MAJOR_VERSION}/GridBrowserDelegate.qml
0283     controls.${QT_MAJOR_VERSION}/GridItemTemplate.qml
0284 
0285     controls.${QT_MAJOR_VERSION}/Holder.qml
0286 
0287     controls.${QT_MAJOR_VERSION}/Icon.qml
0288     controls.${QT_MAJOR_VERSION}/IconItem.qml
0289     controls.${QT_MAJOR_VERSION}/IconLabel.qml
0290     controls.${QT_MAJOR_VERSION}/ImageViewer.qml
0291     controls.${QT_MAJOR_VERSION}/InfoDialog.qml
0292     controls.${QT_MAJOR_VERSION}/InputDialog.qml
0293     controls.${QT_MAJOR_VERSION}/ItemDelegate.qml
0294 
0295     controls.${QT_MAJOR_VERSION}/LabelDelegate.qml
0296     controls.${QT_MAJOR_VERSION}/ListBrowser.qml
0297     controls.${QT_MAJOR_VERSION}/ListBrowserDelegate.qml
0298     controls.${QT_MAJOR_VERSION}/ListDelegate.qml
0299     controls.${QT_MAJOR_VERSION}/ListItemTemplate.qml
0300 
0301     controls.${QT_MAJOR_VERSION}/MenuItemActionRow.qml
0302 
0303     controls.${QT_MAJOR_VERSION}/Page.qml
0304     controls.${QT_MAJOR_VERSION}/PageLayout.qml
0305     controls.${QT_MAJOR_VERSION}/PasswordField.qml
0306     controls.${QT_MAJOR_VERSION}/PieButton.qml
0307     controls.${QT_MAJOR_VERSION}/PopupPage.qml
0308     controls.${QT_MAJOR_VERSION}/ProgressIndicator.qml
0309 
0310     controls.${QT_MAJOR_VERSION}/ScrollColumn.qml
0311 
0312     controls.${QT_MAJOR_VERSION}/SearchField.qml
0313 
0314     controls.${QT_MAJOR_VERSION}/SectionHeader.qml
0315     controls.${QT_MAJOR_VERSION}/SectionItem.qml
0316     controls.${QT_MAJOR_VERSION}/SectionGroup.qml
0317     controls.${QT_MAJOR_VERSION}/SelectionBar.qml
0318     controls.${QT_MAJOR_VERSION}/Separator.qml
0319     controls.${QT_MAJOR_VERSION}/SettingsDialog.qml
0320     controls.${QT_MAJOR_VERSION}/SettingsPage.qml
0321     controls.${QT_MAJOR_VERSION}/SideBarView.qml
0322     controls.${QT_MAJOR_VERSION}/ShadowedRectangle.qml
0323     controls.${QT_MAJOR_VERSION}/SplitView.qml
0324     controls.${QT_MAJOR_VERSION}/SplitViewItem.qml
0325     controls.${QT_MAJOR_VERSION}/SwipeBrowserDelegate.qml
0326     controls.${QT_MAJOR_VERSION}/SwipeItemDelegate.qml
0327 
0328     controls.${QT_MAJOR_VERSION}/TabBar.qml
0329     controls.${QT_MAJOR_VERSION}/TabButton.qml
0330     controls.${QT_MAJOR_VERSION}/TabView.qml
0331     controls.${QT_MAJOR_VERSION}/TabViewItem.qml
0332     controls.${QT_MAJOR_VERSION}/TabViewButton.qml
0333     controls.${QT_MAJOR_VERSION}/TextFieldPopup.qml
0334     controls.${QT_MAJOR_VERSION}/ToolActions.qml
0335     controls.${QT_MAJOR_VERSION}/ToolBar.qml
0336     controls.${QT_MAJOR_VERSION}/ToolButtonMenu.qml)
0337 
0338 ecm_target_qml_sources(MauiKit${MAUI_MAJOR_VERSION} PATH private SOURCES
0339 
0340     controls.${QT_MAJOR_VERSION}/private/AboutDialog.qml
0341     controls.${QT_MAJOR_VERSION}/private/ActionGroup.qml
0342 
0343     controls.${QT_MAJOR_VERSION}/private/BaseWindow.qml
0344 
0345     controls.${QT_MAJOR_VERSION}/private/CheckBoxItem.qml
0346     controls.${QT_MAJOR_VERSION}/private/ColorTransition.qml
0347 
0348     controls.${QT_MAJOR_VERSION}/private/EdgeShadow.qml
0349 
0350     controls.${QT_MAJOR_VERSION}/private/ToastArea.qml
0351     controls.${QT_MAJOR_VERSION}/private/ToolBarSection.qml
0352 
0353     controls.${QT_MAJOR_VERSION}/private/Rectangle.qml
0354     controls.${QT_MAJOR_VERSION}/private/ShareDialog.qml
0355     controls.${QT_MAJOR_VERSION}/private/ShareDialogLinux.qml
0356     controls.${QT_MAJOR_VERSION}/private/SideBar.qml
0357 
0358     controls.${QT_MAJOR_VERSION}/private/WindowControlsWindows.qml
0359     controls.${QT_MAJOR_VERSION}/private/WindowControlsLinux.qml)
0360 
0361 if (QT_MAJOR_VERSION STREQUAL "5")
0362     if(QUICK_COMPILER)
0363         target_sources(MauiKit${MAUI_MAJOR_VERSION} PRIVATE ${mauikit_QML_QRC})
0364 
0365         add_definitions(-DQUICK_COMPILER)
0366         target_compile_definitions(MauiKit${MAUI_MAJOR_VERSION} PUBLIC QUICK_COMPILER)
0367     endif()
0368 endif()
0369 
0370 add_definitions(-DBUNDLE_MAUI_STYLE)
0371 target_compile_definitions(MauiKit${MAUI_MAJOR_VERSION} PUBLIC BUNDLE_MAUI_STYLE)
0372 
0373 if(BUNDLE_LUV_ICONS)
0374     add_definitions(-DBUNDLE_LUV_ICONS)
0375     target_compile_definitions(MauiKit${MAUI_MAJOR_VERSION} PUBLIC BUNDLE_LUV_ICONS)
0376 endif()
0377 
0378 if(ANDROID)
0379     include_directories(
0380         ${CMAKE_CURRENT_SOURCE_DIR}/platforms/android
0381         ${CMAKE_CURRENT_BINARY_DIR}/platforms/android)
0382 
0383     target_include_directories(MauiKit${MAUI_MAJOR_VERSION} PRIVATE platforms/android)
0384 
0385 elseif(WIN32)
0386     include_directories(
0387         ${CMAKE_CURRENT_SOURCE_DIR}/platforms/windows
0388         ${CMAKE_CURRENT_BINARY_DIR}/platforms/windows )
0389     target_include_directories(MauiKit${MAUI_MAJOR_VERSION} PRIVATE platforms/windows)
0390 elseif(UNIX AND NOT APPLE)
0391     include_directories(
0392         ${CMAKE_CURRENT_SOURCE_DIR}/platforms/linux
0393         ${CMAKE_CURRENT_BINARY_DIR}/platforms/linux)
0394     target_include_directories(MauiKit${MAUI_MAJOR_VERSION} PRIVATE platforms/linux)
0395 
0396 elseif(APPLE)
0397     # Temporarily share blur, shawdow implementation for Windows
0398     include_directories(
0399         ${CMAKE_CURRENT_SOURCE_DIR}/platforms/windows
0400         ${CMAKE_CURRENT_BINARY_DIR}/platforms/windows)
0401     # include_directories(
0402     #     ${CMAKE_CURRENT_SOURCE_DIR}/platforms/macos
0403     #     ${CMAKE_CURRENT_BINARY_DIR}/platforms/macos
0404     #     )
0405     target_include_directories(MauiKit${MAUI_MAJOR_VERSION} PRIVATE platforms/macos)
0406 endif()
0407 
0408 if(ANDROID)
0409     #   add_subdirectory(platforms/android)
0410     target_link_libraries(MauiKit${MAUI_MAJOR_VERSION} PRIVATE Qt${QT_VERSION_MAJOR}::AndroidExtras jnigraphics)
0411 
0412     install(FILES platforms/android/mauiandroid.h DESTINATION ${KDE_INSTALL_INCLUDEDIR}/MauiKit${MAUI_MAJOR_VERSION} COMPONENT Devel)
0413 
0414     install(DIRECTORY platforms/android/ DESTINATION ${KDE_INSTALL_DATAROOTDIR}/MauiKit${MAUI_MAJOR_VERSION}Android COMPONENT Devel)
0415 
0416     if (Qt5Core_VERSION VERSION_LESS 5.14.0)
0417         install(FILES MauiKit-android-dependencies.xml DESTINATION ${KDE_INSTALL_LIBDIR})
0418     else()
0419         install(FILES MauiKit-android-dependencies.xml DESTINATION ${KDE_INSTALL_LIBDIR} RENAME MauiKit${MAUI_MAJOR_VERSION}_${CMAKE_ANDROID_ARCH_ABI}-android-dependencies.xml)
0420     endif()
0421 elseif(UNIX AND NOT ANDROID)
0422     if(NOT APPLE)
0423         target_link_libraries(MauiKit${MAUI_MAJOR_VERSION}
0424             PRIVATE
0425             KF${KF_MAJOR_VERSION}::WindowSystem)
0426         if (QT_MAJOR_VERSION STREQUAL "5")
0427             target_link_libraries(MauiKit${MAUI_MAJOR_VERSION} PRIVATE Qt5::X11Extras)
0428         endif()
0429     endif()
0430 endif()
0431 
0432 target_link_libraries(MauiKit${MAUI_MAJOR_VERSION}
0433     PUBLIC
0434     Qt${QT_MAJOR_VERSION}::Core
0435     KF${KF_MAJOR_VERSION}::CoreAddons
0436 
0437     PRIVATE
0438     ${kwin_XCB_LIBS}
0439     MauiMan${MAUI_MAJOR_VERSION}::MauiMan${MAUI_MAJOR_VERSION}
0440     KF${KF_MAJOR_VERSION}::Notifications
0441     KF${KF_MAJOR_VERSION}::I18n
0442     Qt${QT_MAJOR_VERSION}::Qml
0443     Qt${QT_MAJOR_VERSION}::Svg
0444     Qt${QT_MAJOR_VERSION}::Widgets
0445     Qt${QT_MAJOR_VERSION}::Concurrent
0446     Qt${QT_MAJOR_VERSION}::QuickControls2)
0447 
0448 #if (HAVE_OpenMP)
0449 #    target_link_libraries(MauiKit${MAUI_MAJOR_VERSION} PUBLIC omp PRIVATE OpenMP::OpenMP_CXX)
0450 #endif()
0451 
0452 ecm_finalize_qml_module(MauiKit${MAUI_MAJOR_VERSION}
0453     DESTINATION ${KDE_INSTALL_QMLDIR})
0454 
0455 ecm_generate_qmltypes(org.mauikit.controls 1.3 DESTINATION ${KDE_INSTALL_QMLDIR}/org/mauikit/controls)
0456 
0457 generate_export_header(MauiKit${MAUI_MAJOR_VERSION} BASE_NAME MauiKit)
0458 install(TARGETS MauiKit${MAUI_MAJOR_VERSION} EXPORT MauiKit${MAUI_MAJOR_VERSION}Targets ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
0459 
0460 target_include_directories(MauiKit${MAUI_MAJOR_VERSION}
0461     INTERFACE "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR}/MauiKit${MAUI_MAJOR_VERSION}/Core>")
0462 
0463 target_include_directories(MauiKit${MAUI_MAJOR_VERSION} PUBLIC "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR};${CMAKE_CURRENT_BINARY_DIR};>")
0464 
0465 install(FILES
0466     ${mauikit_HDRS}
0467     ${mauikit_PLATFORM_HDRS}
0468     ${CMAKE_CURRENT_BINARY_DIR}/mauikit_export.h
0469     DESTINATION ${KDE_INSTALL_INCLUDEDIR}/MauiKit${MAUI_MAJOR_VERSION}/Core
0470     COMPONENT Devel)
0471 
0472 ##INSTALL MAUI STYLE
0473 if (QT_MAJOR_VERSION STREQUAL "5")
0474     install(DIRECTORY style.5/ DESTINATION ${KDE_INSTALL_QMLDIR}/QtQuick/Controls.2/maui-style)
0475 else()
0476     add_subdirectory(style.6)
0477 endif()
0478 
0479 install(DIRECTORY csd.${QT_MAJOR_VERSION} DESTINATION ${KDE_INSTALL_DATADIR}/org.mauikit.controls)