Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building and installing doesn't work properly #4

Closed
AlphaCraft9658 opened this issue Jan 10, 2023 · 10 comments
Closed

Building and installing doesn't work properly #4

AlphaCraft9658 opened this issue Jan 10, 2023 · 10 comments

Comments

@AlphaCraft9658
Copy link

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
Copy link
Owner

boehs commented Jan 10, 2023

  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
Copy link
Author

  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
Copy link
Owner

boehs commented Jan 27, 2023

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

@AlphaCraft9658
Copy link
Author

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
Copy link

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

@kturques
Copy link

kturques commented Mar 3, 2023

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
Copy link
Owner

boehs commented Mar 15, 2023

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

@kturques
Copy link

kturques commented Mar 17, 2023

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

  • /usr/lib/x86_64-linux-gnu
  • /usr/lib/i386-linux-gnu

In Opensuse, this is split in 2 directories :

  • /usr/lib
  • /usr/lib64

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
Copy link

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:

  • kf5-kcmutils-devel
  • kf5-frameworkintegration-devel

@raphipod
Copy link

raphipod commented Apr 7, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants