boehs / Lightly

A modern style for qt applications.
Other
214 stars 10 forks source link

Building and installing doesn't work properly #4

Closed AlphaCraft9658 closed 1 year ago

AlphaCraft9658 commented 1 year ago

The building and installation themselves work with no issues, but once I try to use the Lightly theme built from here, system settings tell me that this theme can't be used.

boehs commented 1 year ago
  1. Does it work with normal lightly?
  2. KDE & KDE frameworks version?
  3. Any errors/warnings during build?
  4. Please send a screenshot of the message you described

Thanks

AlphaCraft9658 commented 1 year ago
  1. Does it work with normal lightly?
  2. KDE & KDE frameworks version?
  3. Any errors/warnings during build?
  4. Please send a screenshot of the message you described

Thanks

When manually building Lightly, even from the original repo, plasma settings can't apply the theme.

boehs commented 1 year ago

I have absolutely no clue how to reproduce this then. At the least, I'd like that other information I've requested

AlphaCraft9658 commented 1 year ago

I have absolutely no clue how to reproduce this then. At the least, I'd like that other information I've requested

KDE-Version: 2.26.6 KDE-Frameworks-Version: 5.102.0

There are some warnings, that I get during the "make" command.

image

My system language is set to German. The message translates to "The selected style "Lightly" can't be applied".

ThakshilaDamsak commented 1 year ago

I have the same problem.

KDE Plasma Version: 5.26.5 KDE Frameworks Version: 5.102.0 Qt Version: 5.15.8 Kernel Version: 6.1.10-1-default (64-bit)

Screenshot_20230213_200801

kuunha commented 1 year ago

When building on OpenSuse, I have to change "CMAKE_INSTALL_LIBDIR" from lib to lib64. Like this:

cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib64 -DBUILD_TESTING=OFF ..

Don't know if it helps

boehs commented 1 year ago

@kturques sorry I missed this. Fascinating. How did you discover?

kuunha commented 1 year ago

In Debian all libs are under a subdirectory in /usr/lib :

In Opensuse, this is split in 2 directories :

Thats where breeze store its libs in OpenSuse

usr
└── lib64
    ├── libbreezecommon5.so.5 -> libbreezecommon5.so.5.27.2
    ├── libbreezecommon5.so.5.27.2
    └── qt5
        └── plugins
            ├── plasma
            │   └── kcms
            │       └── systemsettings_qwidgets
            │           └── breezestyleconfig.so
            └── styles
                └── breeze.so

In Debian/Ubuntu:

usr
└── lib
    └── x86_64-linux-gnu
        ├── libbreezecommon5.so.5 -> libbreezecommon5.so.5.25.5
        ├── libbreezecommon5.so.5.25.5
        └── qt5
            └── plugins
                ├── kstyle_breeze_config.so
                └── styles
                    └── breeze.so
MineBill commented 1 year ago

I also experienced the same problem on Fedora 38 and i managed to fixed it by installing dependencies that were marked as OPTIONAL by CMake. I initially assumed they weren't needed because CMake didn't block the build(as it did with some other dependencies i was missing). The packages i was missing:

raphipod commented 1 year ago

When building on OpenSuse, I have to change "CMAKE_INSTALL_LIBDIR" from lib to lib64. Like this:

cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib64 -DBUILD_TESTING=OFF ..

Don't know if it helps

Tested the cmake flag on Nobara Linux (Fedora 37), it worked and the Lightly theme is now applicable in the Application styles without errors.