[Interest] layer-shell-qt with qt6

Fabian Vogt fabian at ritter-vogt.de
Mon Aug 22 08:31:36 CEST 2022


Moin,

Am Sonntag, 21. August 2022, 15:15:42 CEST schrieb Ralf Van Bogaert:
> Hi,
> 
> I need to use this library in my Qt6-based project:
> https://invent.kde.org/plasma/layer-shell-qt
> 
> I cloned the source, compiled it with cmake, and installed it.
> 
> I can add the library to my project and access it's classes. I can also
> compile my project without issues.
> 
> However, it now crashes on launch.
> 
> I get the impression the library is being compiled for qt5. I don't know, I
> am not very experienced with makefiles.

To build layer-shell-qt for Qt6, use cmake with -DQT_MAJOR_VERSION=6.

Cheers,
Fabian

> Can anyone help?
> 






More information about the Interest mailing list