Has anyone installed boehs/Lightly with KDE Plasma 6?

Hey everyone!

I just started using openSUSE Tumbleweed because I met some very nice people at SCALE (SoCalSUSE). So far, I am really liking it (hence why I signed up for this forum).

I have wanted to try out boehs/Lightly for a while now. I decided to give it a shot. Luckily, there is a branch that has been updated to qt6, but unfortunately the instructions in the README for openSUSE have not been updated. However, I can tell that there is already an Arch package for the qt6 version, so at least one person has gotten the qt6 version to build.

Here is what I have tried:
I installed the following (some of them I already had, as I do plan to develop on openSUSE). I mostly gathered I needed these by trying to deduce if this was needed for the Qt5 version of this theme, or I tried running the build instructions and it told me I needed these dependencies.

cmake
gcc-c++
qt6-declarative-devel
libQt6Gui6
libQt6DBus6
libQt6OpenGL6
libproxy-devel
kf6-kconfig-devel 
kf6-kconfigwidgets-devel
kf6-kcrash-devel
kf6-kglobalaccel-devel
kf6-kio-devel
kf6-knotifications-devel
kf6-kiconthemes-devel
kf6-kpackage-devel
kwin6-devel
xcb-util-devel
xcb-util-cursor-devel
xcb-util-wm-devel
xcb-util-keysyms-devel
kf6-kirigami
kf6-kirigami-devel
kf6-kcmutils-devel
qt6-qmlcompiler-private-devel
kf6-frameworkintegration-devel
kfind
kcmutils-devel

Then like the instructions said, I created the build directory and ran this command from there:

cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DBUILD_TESTING=OFF ..

Here is the ouput:

-- The C compiler identification is GNU 13.2.1
-- The CXX compiler identification is GNU 13.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Setting build type to 'Debug' as none was specified.
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Installing in the same prefix as Qt, adopting their path scheme.
fatal: no such branch: 'master'
error: No such remote 'origin'
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Found OpenGL: /usr/lib64/libOpenGL.so
-- Found WrapOpenGL: TRUE
-- Found XKB: /usr/lib64/libxkbcommon.so (found suitable version "1.7.0", minimum required is "0.5.0")
-- Found WrapVulkanHeaders: /usr/include
CMake Warning (dev) at /usr/lib64/cmake/KF6CoreAddons/KF6CoreAddonsQchTargets.cmake:6 (set_target_properties):
  Policy CMP0160 is not set: More read-only target properties now error when
  trying to set them.  Run "cmake --help-policy CMP0160" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  IMPORTED property is read-only for target("KF6CoreAddons_QCH")

Call Stack (most recent call first):
  /usr/lib64/cmake/KF6CoreAddons/KF6CoreAddonsConfig.cmake:97 (include)
  /usr/share/ECM/find-modules/FindKF6.cmake:52 (find_package)
  CMakeLists.txt:42 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found KF6CoreAddons: /usr/lib64/cmake/KF6CoreAddons/KF6CoreAddonsConfig.cmake (found version "6.0.0")
CMake Warning (dev) at /usr/lib64/cmake/KF6Config/KF6ConfigQchTargets.cmake:6 (set_target_properties):
  Policy CMP0160 is not set: More read-only target properties now error when
  trying to set them.  Run "cmake --help-policy CMP0160" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  IMPORTED property is read-only for target("KF6Config_QCH")

Call Stack (most recent call first):
  /usr/lib64/cmake/KF6Config/KF6ConfigConfig.cmake:40 (include)
  /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
  /usr/lib64/cmake/KF6ColorScheme/KF6ColorSchemeConfig.cmake:41 (find_dependency)
  /usr/share/ECM/find-modules/FindKF6.cmake:52 (find_package)
  CMakeLists.txt:42 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib64/cmake/KF6ColorScheme/KF6ColorSchemeQchTargets.cmake:6 (set_target_properties):
  Policy CMP0160 is not set: More read-only target properties now error when
  trying to set them.  Run "cmake --help-policy CMP0160" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  IMPORTED property is read-only for target("KF6ColorScheme_QCH")

Call Stack (most recent call first):
  /usr/lib64/cmake/KF6ColorScheme/KF6ColorSchemeConfig.cmake:51 (include)
  /usr/share/ECM/find-modules/FindKF6.cmake:52 (find_package)
  CMakeLists.txt:42 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found KF6ColorScheme: /usr/lib64/cmake/KF6ColorScheme/KF6ColorSchemeConfig.cmake (found version "6.0.0")
-- Found KF6Config: /usr/lib64/cmake/KF6Config/KF6ConfigConfig.cmake (found version "6.0.0")
CMake Warning (dev) at /usr/lib64/cmake/KF6GuiAddons/KF6GuiAddonsQchTargets.cmake:6 (set_target_properties):
  Policy CMP0160 is not set: More read-only target properties now error when
  trying to set them.  Run "cmake --help-policy CMP0160" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  IMPORTED property is read-only for target("KF6GuiAddons_QCH")

Call Stack (most recent call first):
  /usr/lib64/cmake/KF6GuiAddons/KF6GuiAddonsConfig.cmake:59 (include)
  /usr/share/ECM/find-modules/FindKF6.cmake:52 (find_package)
  CMakeLists.txt:42 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found KF6GuiAddons: /usr/lib64/cmake/KF6GuiAddons/KF6GuiAddonsConfig.cmake (found version "6.0.0")
CMake Warning (dev) at /usr/lib64/cmake/KF6I18n/KF6I18nQchTargets.cmake:6 (set_target_properties):
  Policy CMP0160 is not set: More read-only target properties now error when
  trying to set them.  Run "cmake --help-policy CMP0160" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  IMPORTED property is read-only for target("KF6I18n_QCH")

Call Stack (most recent call first):
  /usr/lib64/cmake/KF6I18n/KF6I18nConfig.cmake:45 (include)
  /usr/share/ECM/find-modules/FindKF6.cmake:52 (find_package)
  CMakeLists.txt:42 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found Gettext: /usr/bin/msgmerge (found version "0.22.5")
-- Found KF6I18n: /usr/lib64/cmake/KF6I18n/KF6I18nConfig.cmake (found version "6.0.0")
CMake Warning (dev) at /usr/lib64/cmake/KF6IconThemes/KF6IconThemesQchTargets.cmake:6 (set_target_properties):
  Policy CMP0160 is not set: More read-only target properties now error when
  trying to set them.  Run "cmake --help-policy CMP0160" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  IMPORTED property is read-only for target("KF6IconThemes_QCH")

Call Stack (most recent call first):
  /usr/lib64/cmake/KF6IconThemes/KF6IconThemesConfig.cmake:56 (include)
  /usr/share/ECM/find-modules/FindKF6.cmake:52 (find_package)
  CMakeLists.txt:42 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found KF6IconThemes: /usr/lib64/cmake/KF6IconThemes/KF6IconThemesConfig.cmake (found version "6.0.0")
-- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
CMake Warning (dev) at /usr/lib64/cmake/KF6WindowSystem/KF6WindowSystemQchTargets.cmake:6 (set_target_properties):
  Policy CMP0160 is not set: More read-only target properties now error when
  trying to set them.  Run "cmake --help-policy CMP0160" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  IMPORTED property is read-only for target("KF6WindowSystem_QCH")

Call Stack (most recent call first):
  /usr/lib64/cmake/KF6WindowSystem/KF6WindowSystemConfig.cmake:51 (include)
  /usr/share/ECM/find-modules/FindKF6.cmake:52 (find_package)
  CMakeLists.txt:42 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found KF6WindowSystem: /usr/lib64/cmake/KF6WindowSystem/KF6WindowSystemConfig.cmake (found version "6.0.0")
-- Found KF6: success (found suitable version "6.0.0", minimum required is "5.240.0") found components: CoreAddons ColorScheme Config GuiAddons I18n IconThemes WindowSystem
CMake Warning (dev) at /usr/lib64/cmake/KF6Codecs/KF6CodecsQchTargets.cmake:6 (set_target_properties):
  Policy CMP0160 is not set: More read-only target properties now error when
  trying to set them.  Run "cmake --help-policy CMP0160" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  IMPORTED property is read-only for target("KF6Codecs_QCH")

Call Stack (most recent call first):
  /usr/lib64/cmake/KF6Codecs/KF6CodecsConfig.cmake:41 (include)
  /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
  /usr/lib64/cmake/KF6ConfigWidgets/KF6ConfigWidgetsConfig.cmake:38 (find_dependency)
  /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
  /usr/lib64/cmake/KF6KCMUtils/KF6KCMUtilsConfig.cmake:41 (find_dependency)
  CMakeLists.txt:51 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib64/cmake/KF6WidgetsAddons/KF6WidgetsAddonsQchTargets.cmake:6 (set_target_properties):
  Policy CMP0160 is not set: More read-only target properties now error when
  trying to set them.  Run "cmake --help-policy CMP0160" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  IMPORTED property is read-only for target("KF6WidgetsAddons_QCH")

Call Stack (most recent call first):
  /usr/lib64/cmake/KF6WidgetsAddons/KF6WidgetsAddonsConfig.cmake:42 (include)
  /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
  /usr/lib64/cmake/KF6ConfigWidgets/KF6ConfigWidgetsConfig.cmake:40 (find_dependency)
  /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
  /usr/lib64/cmake/KF6KCMUtils/KF6KCMUtilsConfig.cmake:41 (find_dependency)
  CMakeLists.txt:51 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib64/cmake/KF6ConfigWidgets/KF6ConfigWidgetsQchTargets.cmake:6 (set_target_properties):
  Policy CMP0160 is not set: More read-only target properties now error when
  trying to set them.  Run "cmake --help-policy CMP0160" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  IMPORTED property is read-only for target("KF6ConfigWidgets_QCH")

Call Stack (most recent call first):
  /usr/lib64/cmake/KF6ConfigWidgets/KF6ConfigWidgetsConfig.cmake:57 (include)
  /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
  /usr/lib64/cmake/KF6KCMUtils/KF6KCMUtilsConfig.cmake:41 (find_dependency)
  CMakeLists.txt:51 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib64/cmake/KF6KCMUtils/KF6KCMUtilsQchTargets.cmake:6 (set_target_properties):
  Policy CMP0160 is not set: More read-only target properties now error when
  trying to set them.  Run "cmake --help-policy CMP0160" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  IMPORTED property is read-only for target("KF6KCMUtils_QCH")

Call Stack (most recent call first):
  /usr/lib64/cmake/KF6KCMUtils/KF6KCMUtilsConfig.cmake:72 (include)
  CMakeLists.txt:51 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at /usr/lib64/cmake/KF6KCMUtils/KF6KCMUtilsMacros.cmake:136 (message):
  Could not find metadata file for lightlystyleconfig, expected path was
  /home/jimmy/Documents/Lightly-qt6/kstyle/config/lightlystyleconfig.json
Call Stack (most recent call first):
  kstyle/config/CMakeLists.txt:22 (kcmutils_generate_desktop_file)

I imagine I am missing one or more dependencies. I am admittedly not very familiar with CMake files, although I would like to become more familiar in the future. I will say that the file it is looking for (lightlystyleconfig.json) is not present in that directory, and it isn’t present in either the main or qt6 branch. This makes me think some other part is failing to generate this file.

Thanks everyone!

Did you try to do what it suggests?

Hey arvidjaar,
Thank you for your suggestion.

I hadn’t done it, no. I am not familiar with CMake files, so I was not really sure what it was asking me, but I assumed that since it was just a warning, it may or may not be the issue causing the cmake command to fail. I looked up what you are supposed to do in CMakeLists to set enable the old use of the CMP0160. For anyone reading this thread later who needs it, it looks like this, in the CMakeLists in the root of the repo. I don’t know if where you put it matters, but I put it under the line set(CMAKE_CXX_STANDARD_REQUIRED ON).

cmake_policy(SET CMP0160 OLD)

In the end, however, I am getting the same error, however the output does look a lot cleaner.

-- The C compiler identification is GNU 13.2.1
-- The CXX compiler identification is GNU 13.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Setting build type to 'Debug' as none was specified.
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Installing in the same prefix as Qt, adopting their path scheme.
fatal: no such branch: 'master'
error: No such remote 'origin'
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Found OpenGL: /usr/lib64/libOpenGL.so
-- Found WrapOpenGL: TRUE
-- Found XKB: /usr/lib64/libxkbcommon.so (found suitable version "1.7.0", minimum required is "0.5.0")
-- Found WrapVulkanHeaders: /usr/include
-- Found KF6CoreAddons: /usr/lib64/cmake/KF6CoreAddons/KF6CoreAddonsConfig.cmake (found version "6.0.0")
-- Found KF6ColorScheme: /usr/lib64/cmake/KF6ColorScheme/KF6ColorSchemeConfig.cmake (found version "6.0.0")
-- Found KF6Config: /usr/lib64/cmake/KF6Config/KF6ConfigConfig.cmake (found version "6.0.0")
-- Found KF6GuiAddons: /usr/lib64/cmake/KF6GuiAddons/KF6GuiAddonsConfig.cmake (found version "6.0.0")
-- Found Gettext: /usr/bin/msgmerge (found version "0.22.5")
-- Found KF6I18n: /usr/lib64/cmake/KF6I18n/KF6I18nConfig.cmake (found version "6.0.0")
-- Found KF6IconThemes: /usr/lib64/cmake/KF6IconThemes/KF6IconThemesConfig.cmake (found version "6.0.0")
-- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Found KF6WindowSystem: /usr/lib64/cmake/KF6WindowSystem/KF6WindowSystemConfig.cmake (found version "6.0.0")
-- Found KF6: success (found suitable version "6.0.0", minimum required is "5.240.0") found components: CoreAddons ColorScheme Config GuiAddons I18n IconThemes WindowSystem
CMake Error at /usr/lib64/cmake/KF6KCMUtils/KF6KCMUtilsMacros.cmake:136 (message):
  Could not find metadata file for lightlystyleconfig, expected path was
  /home/jimmy/Documents/Lightly-qt6/kstyle/config/lightlystyleconfig.json
Call Stack (most recent call first):
  kstyle/config/CMakeLists.txt:22 (kcmutils_generate_desktop_file)

I double checked that lightlystyleconfig.json does not exist in both qt5 and qt6 version of this theme, so I am still pretty sure that it must be generated by something at some point.

qt5 did not even have these CMake macros that use this file.

So provide link to this package source and someone may be able to check what they are doing.

Hmm, I should’ve thought to check the CMake files for the qt5 version.

The name of the AUR package is lightly-qt6-git

I saw that it had a patch that added some missing files, so I went and did that.

/kdecoration/conifg/CMakeLists.txt

#####  config classes ææææææ

set(lightlydecoration_config_SRCS
  ../lightlyexceptionlist.cpp
    lightlyconfigwidget.cpp
    lightlydetectwidget.cpp
    lightlyexceptiondialog.cpp
    lightlyexceptionlistwidget.cpp
    lightlyexceptionmodel.cpp
    lightlyitemmodel.cpp
)
ki18n_wrap_ui(lightlydecoration_config_SRCS
    ui/lightlyconfigurationui.ui
    ui/lightlydetectwidget.ui
    ui/lightlyexceptiondialog.ui
    ui/lightlyexceptionlistwidget.ui
)

kcoreaddons_add_plugin(kcm_lightlydecoration SOURCES kcm_lightlydecoration.cpp ${lightlydecoration_config_SRCS} INSTALL_NAMESPACE "${KDECORATION_KCM_PLUGIN_DIR}")
kconfig_add_kcfg_files(kcm_lightlydecoration ../lightlysettings.kcfgc)
target_include_directories(kcm_lightlydecoration PRIVATE ${CMAKE_SOURCE_DIR}/kdecoration ${CMAKE_BINARY_DIR}/kdecoration/)
target_link_libraries(kcm_lightlydecoration
     PUBLIC
        Qt6::Core
        Qt6::Gui
        Qt6::DBus
        KDecoration2::KDecoration
     PRIVATE
        KF6::CoreAddons
        KF6::ConfigWidgets
        KF6::GuiAddons
        KF6::I18n
        KF6::IconThemes
        KF6::WindowSystem
        KF6::KCMUtils
)
kcmutils_generate_desktop_file(kcm_lightlydecoration)

/kdecoration/config/kcm_lightlydecoration.cpp

#include "lightlyconfigwidget.h"
#include <KPluginFactory>

K_PLUGIN_CLASS_WITH_JSON(Lightly::ConfigWidget, "kcm_lightlydecoration.json")

#include "kcm_lightlydecoration.moc"

/kdecoration/config/kcm_lightlydecoration.json

{
    "KPlugin": {
        "Description": "Modify the appearance of window decorations",
        "Description[ar]": "عدّل مظهر زخرفات النّوافذ",
        "Description[az]": "Pəncərə tərtibatının görünüşünü dəyişdirin",
        "Description[bg]": "Настройване на външния изглед на прозорците",
        "Description[ca@valencia]": "Modifica l'aparença de les decoracions de les finestres",
        "Description[ca]": "Modifica l'aparença de les decoracions de les finestres",
        "Description[cs]": "Změnit vzhled dekorace oken",
        "Description[da]": "Ændr vinduesdekorationers udseende",
        "Description[de]": "Das Erscheinungsbild der Fensterdekoration ändern",
        "Description[el]": "Τροποποίηση εμφάνισης της διακόσμησης παραθύρου",
        "Description[en_GB]": "Modify the appearance of window decorations",
        "Description[es]": "Modificar el aspecto de las decoraciones de las ventanas",
        "Description[et]": "Akna dekoratsioonide välimuse muutmine",
        "Description[eu]": "Aldatu leiho apainduren itxura",
        "Description[fi]": "Muuta ikkunoiden kehysten ulkoasua",
        "Description[fr]": "Modifier l'apparence des décorations des fenêtres",
        "Description[gl]": "Modifica a aparencia da decoración da xanela",
        "Description[he]": "התאם את מראה מסגרות החלונות",
        "Description[hi]": "विंडो सजावटों की दिखावट को परिवर्तित करें",
        "Description[hu]": "Az ablakdekorációk megjelenésének módosítása",
        "Description[ia]": "Modifica le apparentia de decorationes de fenestra",
        "Description[id]": "Memodifikasi penampilan dekorasi window",
        "Description[it]": "Modifica l'aspetto delle decorazioni delle finestre",
        "Description[ja]": "ウィンドウ装飾の外観を編集",
        "Description[ko]": "창 장식의 모습을 수정합니다",
        "Description[lt]": "Keisti lango dekoracijų išvaizdą",
        "Description[nb]": "Endre utseende for vindusdekorasjoner",
        "Description[nl]": "Wijzig het uiterlijk van vensterdecoraties",
        "Description[nn]": "Endra utsjånad på vindaugspynt",
        "Description[pa]": "ਵਿੰਡੋ ਸਜਾਵਟ ਦੀ ਦਿੱਖ ਨੂੰ ਸੋਧੋ",
        "Description[pl]": "Zmień wygląd i wystrój okien",
        "Description[pt]": "Modificar a aparência das decorações das janelas",
        "Description[pt_BR]": "Modifica a aparência das decorações da janela",
        "Description[ro]": "Modifică aspectul decorațiilor pentru ferestre",
        "Description[ru]": "Настройка заголовков окон в стиле Breeze",
        "Description[sk]": "Zmena vzhľadu dekorácie okien",
        "Description[sl]": "Spremenite videz okrasitve oken",
        "Description[sr@ijekavian]": "Измијените изглед декорација прозора",
        "Description[sr@ijekavianlatin]": "Izmijenite izgled dekoracija prozora",
        "Description[sr@latin]": "Izmenite izgled dekoracija prozora",
        "Description[sr]": "Измените изглед декорација прозора",
        "Description[sv]": "Ändra utseendet hos fönsterdekorationer",
        "Description[tg]": "Тағйир додани ороиши намуди зоҳирии равзанаҳо",
        "Description[tr]": "Pencere dekorasyonlarının görünümünü değiştir",
        "Description[uk]": "Зміна вигляду декорацій вікон",
        "Description[x-test]": "xxModify the appearance of window decorationsxx",
        "Description[zh_CN]": "修改窗口装饰外观",
        "Description[zh_TW]": "變更視窗裝飾外觀",
        "Icon": "preferences-system-windows",
        "Name": "Lightly: Window Decoration",
        "ServiceTypes": [
            "KCModule"
        ]
    },
    "X-KDE-Keywords": "Lightly,decoration",
    "X-KDE-ParentApp": "kcontrol",
    "X-KDE-Weight": 50
}

/kstyle/config/lightlystyleconfig.json

{
    "KPlugin": {
        "Description": "Modify the appearance of widgets",
        "Description[ar]": "عدّل مظهر الودجات",
        "Description[az]": "Vidjetin görünüşünü dəyişin",
        "Description[bg]": "Настройване на външния изглед на приставките",
        "Description[ca@valencia]": "Modifica l'aparença dels ginys",
        "Description[ca]": "Modifica l'aparença dels ginys",
        "Description[cs]": "Změnit vzhled widgetů",
        "Description[da]": "Ændr kontrollers udseende",
        "Description[de]": "Das Erscheinungsbild der Bedienelemente ändern",
        "Description[el]": "Τροποποίηση εμφάνισης συστατικών",
        "Description[en_GB]": "Modify the appearance of widgets",
        "Description[es]": "Modificar el aspecto de los elementos gráficos",
        "Description[et]": "Vidinate välimuse muutmine",
        "Description[eu]": "Aldatu trepeten itxura",
        "Description[fi]": "Muuta elementtien ulkoasua",
        "Description[fr]": "Modifier l'apparence des composants graphiques",
        "Description[gl]": "Modifica a aparencia dos trebellos",
        "Description[he]": "התאם את המראה של היישומונים",
        "Description[hi]": "विजेट की दिखावट को परिवर्तित करें",
        "Description[hu]": "Az elemek megjelenésének módosítása",
        "Description[ia]": "Modifica le apparentia de widgets",
        "Description[id]": "Memodifikasi penampilan widget",
        "Description[it]": "Modifica l'aspetto degli oggetti",
        "Description[ja]": "ウィジェットの外観を編集",
        "Description[ko]": "위젯의 모습을 수정합니다",
        "Description[lt]": "Keisti valdiklių išvaizdą",
        "Description[nb]": "Endre utseende for skjermelementer",
        "Description[nl]": "Wijzig het uiterlijk van widgets",
        "Description[nn]": "Endra utsjånaden på skjermkontrollar",
        "Description[pl]": "Zmień wygląd interfejsu",
        "Description[pt]": "Modificar a aparência dos elementos gráficos",
        "Description[pt_BR]": "Modifica a aparência dos widgets",
        "Description[ro]": "Modifică aspectul controalelor",
        "Description[ru]": "Настройка элементов интерфейса в стиле Breeze",
        "Description[sk]": "Zmena vzhľadu miniaplikácií",
        "Description[sl]": "Spremenite videz gradnikov",
        "Description[sr@ijekavian]": "Измијените изглед виџета̂",
        "Description[sr@ijekavianlatin]": "Izmijenite izgled vidžetâ̂",
        "Description[sr@latin]": "Izmenite izgled vidžetâ̂",
        "Description[sr]": "Измените изглед виџета̂",
        "Description[sv]": "Ändra utseende hos grafiska komponenter",
        "Description[tg]": "Тағйир додани намуди зоҳирии виҷетҳо",
        "Description[tr]": "Araç takımlarının görünümünü değiştir",
        "Description[uk]": "Зміна вигляду віджетів",
        "Description[x-test]": "xxModify the appearance of widgetsxx",
        "Description[zh_CN]": "调整窗口部件外观",
        "Description[zh_TW]": "變更元件外觀",
        "Icon": "preferences-desktop-theme",
        "Name": "Lightly: Widget Style",
        "ServiceTypes": [
            "KCModule"
        ]
    },
    "X-KDE-Keywords": "lightly,widget,style",
    "X-KDE-ParentApp": "kcontrol",
    "X-KDE-Weight": 60
}

Result
I ran this, and I got cmake to work. It did say I was missing an optional dependency, but the overall result was positive. However, when I ran make, I got an error.

make

[  0%] Built target lightlycommon6_autogen_timestamp_deps
[  1%] Automatic MOC for target lightlycommon6
[  1%] Built target lightlycommon6_autogen
[  2%] Building CXX object liblightlycommon6/CMakeFiles/lightlycommon6.dir/lightlycommon6_autogen/mocs_compilation.cpp.o
[  3%] Building CXX object liblightlycommon6/CMakeFiles/lightlycommon6.dir/lightlyboxshadowrenderer.cpp.o
/home/jimmy/Lightly/liblightlycommon/lightlyboxshadowrenderer.cpp: In member function ‘QImage Lightly::BoxShadowRenderer::render() const’:
/home/jimmy/Lightly/liblightlycommon/lightlyboxshadowrenderer.cpp:323:41: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const QList<Lightly::BoxShadowRenderer::Shadow>; typename std::add_const<_Tp>::type = const QList<Lightly::BoxShadowRenderer::Shadow>]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  323 |     for (const Shadow &shadow : qAsConst(m_shadows)) {
      |                                 ~~~~~~~~^~~~~~~~~~~
In file included from /usr/include/qt6/QtCore/qforeach.h:11,
                 from /usr/include/qt6/QtCore/qglobal.h:57,
                 from /usr/include/qt6/QtGui/qtguiglobal.h:7,
                 from /usr/include/qt6/QtGui/qcolor.h:7,
                 from /usr/include/qt6/QtGui/QColor:1,
                 from /home/jimmy/Lightly/liblightlycommon/lightlyboxshadowrenderer.h:25,
                 from /home/jimmy/Lightly/liblightlycommon/lightlyboxshadowrenderer.cpp:22:
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
/home/jimmy/Lightly/liblightlycommon/lightlyboxshadowrenderer.cpp:336:41: warning: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const QList<Lightly::BoxShadowRenderer::Shadow>; typename std::add_const<_Tp>::type = const QList<Lightly::BoxShadowRenderer::Shadow>]’ is deprecated: Use std::as_const() instead. [-Wdeprecated-declarations]
  336 |     for (const Shadow &shadow : qAsConst(m_shadows)) {
      |                                 ~~~~~~~~^~~~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
      |                                             ^~~~~~~~
[  4%] Linking CXX shared library ../bin/liblightlycommon6.so
[  5%] Built target lightlycommon6
[  5%] Built target lightly6_autogen_timestamp_deps
[  6%] Automatic MOC for target lightly6
[  6%] Built target lightly6_autogen
[  7%] Generating lightlystyleconfigdata.h, lightlystyleconfigdata.cpp
[  8%] Generating lightlysettings.h, lightlysettings.cpp
[  9%] Building CXX object kstyle6/CMakeFiles/lightly6.dir/lightly6_autogen/mocs_compilation.cpp.o
[ 10%] Building CXX object kstyle6/CMakeFiles/lightly6.dir/animations/lightlyanimation.cpp.o
[ 11%] Building CXX object kstyle6/CMakeFiles/lightly6.dir/animations/lightlyanimations.cpp.o
[ 12%] Building CXX object kstyle6/CMakeFiles/lightly6.dir/animations/lightlyanimationdata.cpp.o
[ 13%] Building CXX object kstyle6/CMakeFiles/lightly6.dir/animations/lightlybaseengine.cpp.o
[ 14%] Building CXX object kstyle6/CMakeFiles/lightly6.dir/animations/lightlybusyindicatordata.cpp.o
[ 15%] Building CXX object kstyle6/CMakeFiles/lightly6.dir/animations/lightlybusyindicatorengine.cpp.o
[ 16%] Building CXX object kstyle6/CMakeFiles/lightly6.dir/animations/lightlydialdata.cpp.o
/home/jimmy/Lightly/kstyle/animations/lightlydialdata.cpp: In member function ‘void Lightly::DialData::hoverMoveEvent(QObject*, QEvent*)’:
/home/jimmy/Lightly/kstyle/animations/lightlydialdata.cpp:74:36: warning: ‘QPoint QHoverEvent::pos() const’ is deprecated: Use position() [-Wdeprecated-declarations]
   74 |         _position = hoverEvent->pos();
      |                     ~~~~~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtGui/QHoverEvent:1,
                 from /home/jimmy/Lightly/kstyle/animations/lightlydialdata.cpp:22:
/usr/include/qt6/QtGui/qevent.h:261:19: note: declared here
  261 |     inline QPoint pos() const { return position().toPoint(); }
      |                   ^~~
[ 17%] Building CXX object kstyle6/CMakeFiles/lightly6.dir/animations/lightlydialengine.cpp.o
[ 18%] Building CXX object kstyle6/CMakeFiles/lightly6.dir/animations/lightlyenabledata.cpp.o
[ 20%] Building CXX object kstyle6/CMakeFiles/lightly6.dir/animations/lightlygenericdata.cpp.o
[ 21%] Building CXX object kstyle6/CMakeFiles/lightly6.dir/animations/lightlyheaderviewdata.cpp.o
[ 22%] Building CXX object kstyle6/CMakeFiles/lightly6.dir/animations/lightlyheaderviewengine.cpp.o
[ 23%] Building CXX object kstyle6/CMakeFiles/lightly6.dir/animations/lightlyscrollbardata.cpp.o
/home/jimmy/Lightly/kstyle/animations/lightlyscrollbardata.cpp: In member function ‘void Lightly::ScrollBarData::hoverMoveEvent(QObject*, QEvent*)’:
/home/jimmy/Lightly/kstyle/animations/lightlyscrollbardata.cpp:144:128: warning: ‘QPoint QHoverEvent::pos() const’ is deprecated: Use position() [-Wdeprecated-declarations]
  144 |         QStyle::SubControl hoverControl = scrollBar->style()->hitTestComplexControl(QStyle::CC_ScrollBar, &opt, hoverEvent->pos(), scrollBar);
      |                                                                                                                 ~~~~~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtGui/QHoverEvent:1,
                 from /home/jimmy/Lightly/kstyle/animations/lightlyscrollbardata.cpp:22:
/usr/include/qt6/QtGui/qevent.h:261:19: note: declared here
  261 |     inline QPoint pos() const { return position().toPoint(); }
      |                   ^~~
/home/jimmy/Lightly/kstyle/animations/lightlyscrollbardata.cpp:151:36: warning: ‘QPoint QHoverEvent::pos() const’ is deprecated: Use position() [-Wdeprecated-declarations]
  151 |         _position = hoverEvent->pos();
      |                     ~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:261:19: note: declared here
  261 |     inline QPoint pos() const { return position().toPoint(); }
      |                   ^~~
[ 24%] Building CXX object kstyle6/CMakeFiles/lightly6.dir/animations/lightlyscrollbarengine.cpp.o
[ 25%] Building CXX object kstyle6/CMakeFiles/lightly6.dir/animations/lightlyspinboxengine.cpp.o
[ 26%] Building CXX object kstyle6/CMakeFiles/lightly6.dir/animations/lightlyspinboxdata.cpp.o
[ 27%] Building CXX object kstyle6/CMakeFiles/lightly6.dir/animations/lightlystackedwidgetdata.cpp.o
[ 28%] Building CXX object kstyle6/CMakeFiles/lightly6.dir/animations/lightlystackedwidgetengine.cpp.o
[ 29%] Building CXX object kstyle6/CMakeFiles/lightly6.dir/animations/lightlytabbarengine.cpp.o
[ 30%] Building CXX object kstyle6/CMakeFiles/lightly6.dir/animations/lightlytabbardata.cpp.o
[ 31%] Building CXX object kstyle6/CMakeFiles/lightly6.dir/animations/lightlytoolboxengine.cpp.o
[ 32%] Building CXX object kstyle6/CMakeFiles/lightly6.dir/animations/lightlytransitiondata.cpp.o
[ 33%] Building CXX object kstyle6/CMakeFiles/lightly6.dir/animations/lightlytransitionwidget.cpp.o
/home/jimmy/Lightly/kstyle/animations/lightlytransitionwidget.cpp: In member function ‘void Lightly::TransitionWidget::grabBackground(QPixmap&, QWidget*, QRect&) const’:
/home/jimmy/Lightly/kstyle/animations/lightlytransitionwidget.cpp:223:35: warning: ‘bool QWidget::isTopLevel() const’ is deprecated: Use isWindow() [-Wdeprecated-declarations]
  223 |             if( parent->isTopLevel() || parent->autoFillBackground() ) break;
      |                 ~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtWidgets/QWidget:1,
                 from /home/jimmy/Lightly/kstyle/animations/lightlytransitionwidget.h:32,
                 from /home/jimmy/Lightly/kstyle/animations/lightlytransitionwidget.cpp:27:
/usr/include/qt6/QtWidgets/qwidget.h:807:13: note: declared here
  807 | inline bool QWidget::isTopLevel() const
      |             ^~~~~~~
/home/jimmy/Lightly/kstyle/animations/lightlytransitionwidget.cpp:244:31: warning: ‘bool QWidget::isTopLevel() const’ is deprecated: Use isWindow() [-Wdeprecated-declarations]
  244 |         if( parent->isTopLevel() && parent->testAttribute(Qt::WA_StyledBackground))
      |             ~~~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtWidgets/qwidget.h:807:13: note: declared here
  807 | inline bool QWidget::isTopLevel() const
      |             ^~~~~~~
[ 34%] Building CXX object kstyle6/CMakeFiles/lightly6.dir/animations/lightlywidgetstateengine.cpp.o
[ 35%] Building CXX object kstyle6/CMakeFiles/lightly6.dir/animations/lightlywidgetstatedata.cpp.o
[ 36%] Building CXX object kstyle6/CMakeFiles/lightly6.dir/debug/lightlywidgetexplorer.cpp.o
[ 37%] Building CXX object kstyle6/CMakeFiles/lightly6.dir/lightlyaddeventfilter.cpp.o
[ 38%] Building CXX object kstyle6/CMakeFiles/lightly6.dir/lightlyblurhelper.cpp.o
[ 40%] Building CXX object kstyle6/CMakeFiles/lightly6.dir/lightlyframeshadow.cpp.o
/home/jimmy/Lightly/kstyle/lightlyframeshadow.cpp: In member function ‘bool Lightly::FrameShadowFactory::registerWidget(QWidget*, Lightly::Helper&)’:
/home/jimmy/Lightly/kstyle/lightlyframeshadow.cpp:68:45: warning: ‘bool QWidget::isTopLevel() const’ is deprecated: Use isWindow() [-Wdeprecated-declarations]
   68 |         while( parent && !parent->isTopLevel() )
      |                           ~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/qt6/QtWidgets/QWidget:1,
                 from /home/jimmy/Lightly/kstyle/animations/lightlyanimationdata.h:27,
                 from /home/jimmy/Lightly/kstyle/lightlyhelper.h:26,
                 from /home/jimmy/Lightly/kstyle/lightlyframeshadow.h:25,
                 from /home/jimmy/Lightly/kstyle/lightlyframeshadow.cpp:20:
/usr/include/qt6/QtWidgets/qwidget.h:807:13: note: declared here
  807 | inline bool QWidget::isTopLevel() const
      |             ^~~~~~~
[ 41%] Building CXX object kstyle6/CMakeFiles/lightly6.dir/lightlyhelper.cpp.o
/home/jimmy/Lightly/kstyle/lightlyhelper.cpp: In constructor ‘Lightly::Helper::Helper(KSharedConfig::Ptr, QObject*)’:
/home/jimmy/Lightly/kstyle/lightlyhelper.cpp:56:42: warning: ‘void QGuiApplication::paletteChanged(const QPalette&)’ is deprecated: Handle QEvent::ApplicationPaletteChange instead [-Wdeprecated-declarations]
   56 |             connect(qApp, &QApplication::paletteChanged, this, [=]() {
      |                                          ^~~~~~~~~~~~~~
In file included from /usr/include/qt6/QtWidgets/qapplication.h:13,
                 from /usr/include/qt6/QtWidgets/QApplication:1,
                 from /home/jimmy/Lightly/kstyle/lightlyhelper.cpp:28:
/usr/include/qt6/QtGui/qguiapplication.h:161:89: note: declared here
  161 |     QT_DEPRECATED_VERSION_X_6_0("Handle QEvent::ApplicationPaletteChange instead") void paletteChanged(const QPalette &pal);
      |                                                                                         ^~~~~~~~~~~~~~
/home/jimmy/Lightly/kstyle/lightlyhelper.cpp: In lambda function:
/home/jimmy/Lightly/kstyle/lightlyhelper.cpp:56:64: warning: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 [-Wdeprecated]
   56 |             connect(qApp, &QApplication::paletteChanged, this, [=]() {
      |                                                                ^
/home/jimmy/Lightly/kstyle/lightlyhelper.cpp:56:64: note: add explicit ‘this’ or ‘*this’ capture
/home/jimmy/Lightly/kstyle/lightlyhelper.cpp: In constructor ‘Lightly::Helper::Helper(KSharedConfig::Ptr, QObject*)’:
/home/jimmy/Lightly/kstyle/lightlyhelper.cpp:51:57: warning: unused parameter ‘parent’ [-Wunused-parameter]
   51 |     Helper::Helper( KSharedConfig::Ptr config, QObject *parent ):
      |                                                ~~~~~~~~~^~~~~~
/home/jimmy/Lightly/kstyle/lightlyhelper.cpp: In member function ‘QColor Lightly::Helper::sidePanelOutlineColor(const QPalette&, bool, qreal, Lightly::AnimationMode) const’:
/home/jimmy/Lightly/kstyle/lightlyhelper.cpp:144:73: warning: unused parameter ‘hasFocus’ [-Wunused-parameter]
  144 |     QColor Helper::sidePanelOutlineColor( const QPalette& palette, bool hasFocus, qreal opacity, AnimationMode mode ) const
      |                                                                    ~~~~~^~~~~~~~
/home/jimmy/Lightly/kstyle/lightlyhelper.cpp:144:89: warning: unused parameter ‘opacity’ [-Wunused-parameter]
  144 |     QColor Helper::sidePanelOutlineColor( const QPalette& palette, bool hasFocus, qreal opacity, AnimationMode mode ) const
      |                                                                                   ~~~~~~^~~~~~~
/home/jimmy/Lightly/kstyle/lightlyhelper.cpp:144:112: warning: unused parameter ‘mode’ [-Wunused-parameter]
  144 |     QColor Helper::sidePanelOutlineColor( const QPalette& palette, bool hasFocus, qreal opacity, AnimationMode mode ) const
      |                                                                                                  ~~~~~~~~~~~~~~^~~~
/home/jimmy/Lightly/kstyle/lightlyhelper.cpp: In member function ‘void Lightly::Helper::renderFrame(QPainter*, const QRect&, const QColor&, const QPalette&, bool, bool) const’:
/home/jimmy/Lightly/kstyle/lightlyhelper.cpp:467:46: warning: unused parameter ‘palette’ [-Wunused-parameter]
  467 |         const QColor& color, const QPalette& palette, const bool windowActive, const bool enabled ) const
      |                              ~~~~~~~~~~~~~~~~^~~~~~~
/home/jimmy/Lightly/kstyle/lightlyhelper.cpp: In member function ‘void Lightly::Helper::renderLineEdit(QPainter*, const QRect&, const QColor&, const QColor&, bool, bool, bool, bool, Lightly::AnimationMode, qreal) const’:
/home/jimmy/Lightly/kstyle/lightlyhelper.cpp:942:64: warning: arithmetic between floating-point type ‘qreal’ {aka ‘double’} and enumeration type ‘Lightly::Metrics’ is deprecated [-Wdeprecated-enum-float-conversion]
  942 |                     const qreal finalRadius ((frameRect.width()+Metrics::Frame_FrameWidth)*opacity);
      |                                               ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jimmy/Lightly/kstyle/lightlyhelper.cpp:996:64: warning: arithmetic between floating-point type ‘qreal’ {aka ‘double’} and enumeration type ‘Lightly::Metrics’ is deprecated [-Wdeprecated-enum-float-conversion]
  996 |                     const qreal finalRadius ((frameRect.width()+Metrics::Frame_FrameWidth)*opacity);
      |                                               ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jimmy/Lightly/kstyle/lightlyhelper.cpp: In member function ‘void Lightly::Helper::renderSliderGroove(QPainter*, const QRect&, const QColor&) const’:
/home/jimmy/Lightly/kstyle/lightlyhelper.cpp:1373:32: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘Lightly::Metrics’ is deprecated [-Wdeprecated-enum-float-conversion]
 1373 |         const qreal radius( 0.5*Metrics::Slider_GrooveThickness );
      |                             ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jimmy/Lightly/kstyle/lightlyhelper.cpp: In member function ‘void Lightly::Helper::renderProgressBarGroove(QPainter*, const QRect&, const QColor&, bool) const’:
/home/jimmy/Lightly/kstyle/lightlyhelper.cpp:1526:32: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘Lightly::Metrics’ is deprecated [-Wdeprecated-enum-float-conversion]
 1526 |         const qreal radius( 0.5*Metrics::ProgressBar_Thickness);
      |                             ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jimmy/Lightly/kstyle/lightlyhelper.cpp:1524:13: warning: variable ‘thickness’ set but not used [-Wunused-but-set-variable]
 1524 |         int thickness = Metrics::ProgressBar_Thickness;
      |             ^~~~~~~~~
/home/jimmy/Lightly/kstyle/lightlyhelper.cpp: In member function ‘void Lightly::Helper::renderProgressBarBusyContents(QPainter*, const QRect&, const QColor&, const QColor&, bool, bool, int) const’:
/home/jimmy/Lightly/kstyle/lightlyhelper.cpp:1555:32: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘Lightly::Metrics’ is deprecated [-Wdeprecated-enum-float-conversion]
 1555 |         const qreal radius( 0.5*Metrics::ProgressBar_Thickness );
      |                             ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 42%] Building CXX object kstyle6/CMakeFiles/lightly6.dir/lightlymdiwindowshadow.cpp.o
[ 43%] Building CXX object kstyle6/CMakeFiles/lightly6.dir/lightlymnemonics.cpp.o
[ 44%] Building CXX object kstyle6/CMakeFiles/lightly6.dir/lightlypropertynames.cpp.o
[ 45%] Building CXX object kstyle6/CMakeFiles/lightly6.dir/lightlyshadowhelper.cpp.o
/home/jimmy/Lightly/kstyle/lightlyshadowhelper.cpp: In static member function ‘static Lightly::TileSet Lightly::ShadowHelper::shadowTiles(int, Lightly::CustomShadowParams, Lightly::CustomShadowParams)’:
/home/jimmy/Lightly/kstyle/lightlyshadowhelper.cpp:303:14: warning: variable ‘withOpacity’ set but not used [-Wunused-but-set-variable]
  303 |         auto withOpacity = [](const QColor &color, qreal opacity) -> QColor {
      |              ^~~~~~~~~~~
[ 46%] Building CXX object kstyle6/CMakeFiles/lightly6.dir/lightlysplitterproxy.cpp.o
/home/jimmy/Lightly/kstyle/lightlysplitterproxy.cpp: In member function ‘virtual bool Lightly::SplitterProxy::event(QEvent*)’:
/home/jimmy/Lightly/kstyle/lightlysplitterproxy.cpp:258:71: warning: ‘QMouseEvent::QMouseEvent(QEvent::Type, const QPointF&, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*)’ is deprecated: Use another constructor [-Wdeprecated-declarations]
  258 |                         mouseEvent->buttons(), mouseEvent->modifiers());
      |                                                                       ^
In file included from /usr/include/qt6/QtGui/QHoverEvent:1,
                 from /home/jimmy/Lightly/kstyle/lightlysplitterproxy.h:27,
                 from /home/jimmy/Lightly/kstyle/lightlysplitterproxy.cpp:20:
/usr/include/qt6/QtGui/qevent.h:200:5: note: declared here
  200 |     QMouseEvent(Type type, const QPointF &localPos, Qt::MouseButton button,
      |     ^~~~~~~~~~~
/home/jimmy/Lightly/kstyle/lightlysplitterproxy.cpp:267:79: warning: ‘QPoint QMouseEvent::globalPos() const’ is deprecated: Use globalPosition() [-Wdeprecated-declarations]
  267 |                         _splitter.data()->mapFromGlobal( mouseEvent->globalPos() ),
      |                                                          ~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:223:19: note: declared here
  223 |     inline QPoint globalPos() const { return globalPosition().toPoint(); }
      |                   ^~~~~~~~~
/home/jimmy/Lightly/kstyle/lightlysplitterproxy.cpp:269:71: warning: ‘QMouseEvent::QMouseEvent(QEvent::Type, const QPointF&, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*)’ is deprecated: Use another constructor [-Wdeprecated-declarations]
  269 |                         mouseEvent->buttons(), mouseEvent->modifiers());
      |                                                                       ^
/usr/include/qt6/QtGui/qevent.h:200:5: note: declared here
  200 |     QMouseEvent(Type type, const QPointF &localPos, Qt::MouseButton button,
      |     ^~~~~~~~~~~
/home/jimmy/Lightly/kstyle/lightlysplitterproxy.cpp: In member function ‘void Lightly::SplitterProxy::clearSplitter()’:
/home/jimmy/Lightly/kstyle/lightlysplitterproxy.cpp:365:71: warning: ‘QHoverEvent::QHoverEvent(QEvent::Type, const QPointF&, const QPointF&, Qt::KeyboardModifiers, const QPointingDevice*)’ is deprecated: Use the other constructor [-Wdeprecated-declarations]
  365 |                 _splitter.data()->mapFromGlobal(QCursor::pos()), _hook);
      |                                                                       ^
/usr/include/qt6/QtGui/qevent.h:253:5: note: declared here
  253 |     QHoverEvent(Type type, const QPointF &pos, const QPointF &oldPos,
      |     ^~~~~~~~~~~
[ 47%] Building CXX object kstyle6/CMakeFiles/lightly6.dir/lightlystyle.cpp.o
/home/jimmy/Lightly/kstyle/lightlystyle.cpp: In constructor ‘Lightly::Style::Style()’:
/home/jimmy/Lightly/kstyle/lightlystyle.cpp:202:38: warning: ‘void QGuiApplication::paletteChanged(const QPalette&)’ is deprecated: Handle QEvent::ApplicationPaletteChange instead [-Wdeprecated-declarations]
  202 |         connect(qApp, &QApplication::paletteChanged, this, &Style::configurationChanged);
      |                                      ^~~~~~~~~~~~~~
In file included from /usr/include/qt6/QtWidgets/qapplication.h:13,
                 from /usr/include/qt6/QtWidgets/QApplication:1,
                 from /home/jimmy/Lightly/kstyle/lightlymnemonics.h:25,
                 from /home/jimmy/Lightly/kstyle/lightlystyle.cpp:26:
/usr/include/qt6/QtGui/qguiapplication.h:161:89: note: declared here
  161 |     QT_DEPRECATED_VERSION_X_6_0("Handle QEvent::ApplicationPaletteChange instead") void paletteChanged(const QPalette &pal);
      |                                                                                         ^~~~~~~~~~~~~~
/home/jimmy/Lightly/kstyle/lightlystyle.cpp: In member function ‘bool Lightly::Style::eventFilterScrollArea(QWidget*, QEvent*)’:
/home/jimmy/Lightly/kstyle/lightlystyle.cpp:1394:71: warning: ‘QMouseEvent::QMouseEvent(QEvent::Type, const QPointF&, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*)’ is deprecated: Use another constructor [-Wdeprecated-declarations]
 1394 |                         mouseEvent->buttons(), mouseEvent->modifiers());
      |                                                                       ^
In file included from /usr/include/qt6/QtGui/QPaintEvent:1,
                 from /home/jimmy/Lightly/kstyle/lightlyframeshadow.h:32,
                 from /home/jimmy/Lightly/kstyle/lightlystyle.cpp:24:
/usr/include/qt6/QtGui/qevent.h:200:5: note: declared here
  200 |     QMouseEvent(Type type, const QPointF &localPos, Qt::MouseButton button,
      |     ^~~~~~~~~~~
/home/jimmy/Lightly/kstyle/lightlystyle.cpp: In member function ‘bool Lightly::Style::drawFrameGroupBoxPrimitive(const QStyleOption*, QPainter*, const QWidget*) const’:
/home/jimmy/Lightly/kstyle/lightlystyle.cpp:3594:107: warning: unused parameter ‘widget’ [-Wunused-parameter]
 3594 |     bool Style::drawFrameGroupBoxPrimitive( const QStyleOption* option, QPainter* painter, const QWidget* widget) const
      |                                                                                            ~~~~~~~~~~~~~~~^~~~~~
/home/jimmy/Lightly/kstyle/lightlystyle.cpp: In member function ‘bool Lightly::Style::drawMenuItemControl(const QStyleOption*, QPainter*, const QWidget*) const’:
/home/jimmy/Lightly/kstyle/lightlystyle.cpp:5297:24: warning: unused variable ‘active’ [-Wunused-variable]
 5297 |             const bool active( menuItemOption->checked );
      |                        ^~~~~~
/home/jimmy/Lightly/kstyle/lightlystyle.cpp:5254:29: warning: unused variable ‘mode’ [-Wunused-variable]
 5254 |         const AnimationMode mode( _animations->inputWidgetEngine().buttonAnimationMode( widget ) );
      |                             ^~~~
/home/jimmy/Lightly/kstyle/lightlystyle.cpp:5255:21: warning: unused variable ‘opacity’ [-Wunused-variable]
 5255 |         const qreal opacity( _animations->inputWidgetEngine().buttonOpacity( widget ) );
      |                     ^~~~~~~
/home/jimmy/Lightly/kstyle/lightlystyle.cpp: In member function ‘bool Lightly::Style::drawScrollBarSliderControl(const QStyleOption*, QPainter*, const QWidget*) const’:
/home/jimmy/Lightly/kstyle/lightlystyle.cpp:5831:66: warning: arithmetic between enumeration type ‘Lightly::Metrics’ and floating-point type ‘qreal’ {aka ‘double’} is deprecated [-Wdeprecated-enum-float-conversion]
 5831 |         const qreal sliderWidth = Metrics::ScrollBar_SliderWidth / ( 2 - grooveAnimationOpacity ) ;
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 48%] Building CXX object kstyle6/CMakeFiles/lightly6.dir/lightlystyleplugin.cpp.o
[ 49%] Building CXX object kstyle6/CMakeFiles/lightly6.dir/lightlytileset.cpp.o
[ 50%] Building CXX object kstyle6/CMakeFiles/lightly6.dir/lightlywindowmanager.cpp.o
/home/jimmy/Lightly/kstyle/lightlywindowmanager.cpp: In member function ‘bool Lightly::AppEventFilter::appMouseEvent(QObject*, QEvent*)’:
/home/jimmy/Lightly/kstyle/lightlywindowmanager.cpp:175:133: warning: ‘QMouseEvent::QMouseEvent(QEvent::Type, const QPointF&, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*)’ is deprecated: Use another constructor [-Wdeprecated-declarations]
  175 |             QMouseEvent mouseEvent( QEvent::MouseButtonRelease, _parent->_dragPoint, Qt::LeftButton, Qt::LeftButton, Qt::NoModifier );
      |                                                                                                                                     ^
In file included from /usr/include/qt6/QtQuick/qquickitem.h:14,
                 from /usr/include/qt6/QtQuick/QQuickItem:1,
                 from /home/jimmy/Lightly/kstyle/lightlywindowmanager.h:37,
                 from /home/jimmy/Lightly/kstyle/lightlywindowmanager.cpp:49:
/usr/include/qt6/QtGui/qevent.h:200:5: note: declared here
  200 |     QMouseEvent(Type type, const QPointF &localPos, Qt::MouseButton button,
      |     ^~~~~~~~~~~
/home/jimmy/Lightly/kstyle/lightlywindowmanager.cpp: In member function ‘bool Lightly::WindowManager::mousePressEvent(QObject*, QEvent*)’:
/home/jimmy/Lightly/kstyle/lightlywindowmanager.cpp:426:53: warning: ‘QPoint QMouseEvent::globalPos() const’ is deprecated: Use globalPosition() [-Wdeprecated-declarations]
  426 |             _globalDragPoint = mouseEvent->globalPos();
      |                                ~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:223:19: note: declared here
  223 |     inline QPoint globalPos() const { return globalPosition().toPoint(); }
      |                   ^~~~~~~~~
/home/jimmy/Lightly/kstyle/lightlywindowmanager.cpp:449:49: warning: ‘QPoint QMouseEvent::globalPos() const’ is deprecated: Use globalPosition() [-Wdeprecated-declarations]
  449 |         _globalDragPoint = mouseEvent->globalPos();
      |                            ~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:223:19: note: declared here
  223 |     inline QPoint globalPos() const { return globalPosition().toPoint(); }
      |                   ^~~~~~~~~
/home/jimmy/Lightly/kstyle/lightlywindowmanager.cpp:457:116: warning: ‘QMouseEvent::QMouseEvent(QEvent::Type, const QPointF&, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers, const QPointingDevice*)’ is deprecated: Use another constructor [-Wdeprecated-declarations]
  457 |         QMouseEvent localMouseEvent( QEvent::MouseMove, localPoint, Qt::LeftButton, Qt::LeftButton, Qt::NoModifier );
      |                                                                                                                    ^
/usr/include/qt6/QtGui/qevent.h:200:5: note: declared here
  200 |     QMouseEvent(Type type, const QPointF &localPos, Qt::MouseButton button,
      |     ^~~~~~~~~~~
/home/jimmy/Lightly/kstyle/lightlywindowmanager.cpp: In member function ‘bool Lightly::WindowManager::mouseMoveEvent(QObject*, QEvent*)’:
/home/jimmy/Lightly/kstyle/lightlywindowmanager.cpp:492:53: warning: ‘QPoint QMouseEvent::globalPos() const’ is deprecated: Use globalPosition() [-Wdeprecated-declarations]
  492 |             } else if( QPoint( mouseEvent->globalPos() - _globalDragPoint ).manhattanLength() >= _dragDistance ) {
      |                                ~~~~~~~~~~~~~~~~~~~~~^~
/usr/include/qt6/QtGui/qevent.h:223:19: note: declared here
  223 |     inline QPoint globalPos() const { return globalPosition().toPoint(); }
      |                   ^~~~~~~~~
[ 51%] Building CXX object kstyle6/CMakeFiles/lightly6.dir/lightlysettings.cpp.o
[ 52%] Building CXX object kstyle6/CMakeFiles/lightly6.dir/lightlystyleconfigdata.cpp.o
[ 53%] Linking CXX shared module ../bin/lightly6.so
[ 54%] Built target lightly6
[ 54%] Built target lightlystyleconfig-kcm-desktop-gen
[ 54%] Built target lightlystyleconfig_autogen_timestamp_deps
[ 55%] Automatic MOC for target lightlystyleconfig
[ 55%] Built target lightlystyleconfig_autogen
[ 56%] Generating ui_lightlystyleconfig.h
[ 57%] Generating lightlystyleconfigdata.h, lightlystyleconfigdata.cpp
[ 58%] Building CXX object kstyle6/config/CMakeFiles/lightlystyleconfig.dir/lightlystyleconfig_autogen/mocs_compilation.cpp.o
[ 60%] Building CXX object kstyle6/config/CMakeFiles/lightlystyleconfig.dir/lightlystyleconfig.cpp.o
[ 61%] Building CXX object kstyle6/config/CMakeFiles/lightlystyleconfig.dir/lightlystyleconfigmodule.cpp.o
[ 62%] Building CXX object kstyle6/config/CMakeFiles/lightlystyleconfig.dir/lightlystyleconfigdata.cpp.o
[ 63%] Linking CXX shared module ../../bin/kstyle_config/lightlystyleconfig.so
[ 64%] Built target lightlystyleconfig
[ 64%] Built target lightly-settings_autogen_timestamp_deps
[ 65%] Automatic MOC for target lightly-settings
[ 65%] Built target lightly-settings_autogen
[ 66%] Building CXX object kstyle6/config/CMakeFiles/lightly-settings.dir/lightly-settings_autogen/mocs_compilation.cpp.o
[ 67%] Building CXX object kstyle6/config/CMakeFiles/lightly-settings.dir/main.cpp.o
[ 68%] Linking CXX executable ../../bin/lightly-settings6
[ 69%] Built target lightly-settings
[ 69%] Built target lightlydecoration_autogen_timestamp_deps
[ 70%] Automatic MOC for target lightlydecoration
[ 70%] Built target lightlydecoration_autogen
[ 71%] Generating lightlysettings.h, lightlysettings.cpp
[ 72%] Building CXX object kdecoration/CMakeFiles/lightlydecoration.dir/lightlydecoration_autogen/mocs_compilation.cpp.o
[ 73%] Building CXX object kdecoration/CMakeFiles/lightlydecoration.dir/lightlybutton.cpp.o
[ 74%] Building CXX object kdecoration/CMakeFiles/lightlydecoration.dir/lightlydecoration.cpp.o
In file included from /home/jimmy/Lightly/kdecoration/lightlydecoration.cpp:28:
/home/jimmy/Lightly/kdecoration/config/lightlyconfigwidget.h:28:10: fatal error: config/ui_lightlyconfigurationui.h: No such file or directory
   28 | #include "config/ui_lightlyconfigurationui.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [kdecoration/CMakeFiles/lightlydecoration.dir/build.make:119: kdecoration/CMakeFiles/lightlydecoration.dir/lightlydecoration.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:926: kdecoration/CMakeFiles/lightlydecoration.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

The output of make has a lot of errors. I think I could fix it, but considering I have already had to add several files to even get this far, and it looks like I would have to get more, I think its safe to say that this just isn’t ready yet. I am more than willing to hear what you have to say, though.

Thanks again!

I can only guess that it is a typo and it should have been config/ui/lightlyconfigurationui.h, but you really need to talk to either upstream developers or at least Arch packagers. And exactly the same error is actually shown in the discussion of this Arch package.

P.S. you pasted 300+ lines. It is rather uncomfortable to handle them embedded in the post. For such long output better upload to https://paste.opensuse.org/

Thank you! I guess I should’ve thought to use like pastebin or something, but I was a bit busy and I was just trying to get it all in there. In the future, I will be sure to use https://paste.opensuse.org!

There is kdecoration/config/ui/lightlyconfigurationui.ui. I did try that, but in the end there’s just too many things being misnamed, and I would have to know how to utilize qt in order to fix the issues that come up after fixing that include.

I do really appreciate you pushing me. If you hadn’t prodded me along I probably wouldn’t have gone this far. This was a good first experience on the openSUSE forums!