> 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. Thank you very much Fabian, that did the trick! Op ma 22 aug. 2022 om 08:31 schreef Fabian Vogt <fab...@ritter-vogt.de>: > 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? > > > > > > >
_______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest