Hi,
yes, it's from my application.
So I probably have to link LibX11 in CmakeList.txt, not sure how however :(
Thanks for the help :)
Corentin : expert certifié 2022 et <https://linktr.ee/CoBC1>Sponsor
<https://github.com/sponsors/nvaccess?sp=CoBC> NVDA, Référent commission
Cécité & Co et Mandataire CNCPH à la commission Accessibilité
Universelle - Fédé 100% Handinamique <https://www.handinamique.org/>
Le 24/05/2024 à 00:01, Thiago Macieira a écrit :
On Thursday 23 May 2024 18:14:01 GMT-3 Corentin Bacqué-cazenave via Interest
wrote:
Hi,
I'm trying to port an application from Qt5 to Qt6.
I get a lot of errors regarding undefined symbols reference like
XUngrabKey, XFree, XStringToKeysym, XFlush...
All symbols related to X11 seam to be missing.
Does anyone have an idea?
Hello Corentin
Where are those symbols being used? Is it from your application or is it from
some Qt code? If it's from your application, then you probably forgot to link
to the X11 library. Something in the buildsystem changed and your indirect
dependency is not there any more.
Qt5's GUI libraries, unlike Qt 4 and Qt 6, did not link to libX11. Qt 4 did
because it did not have the feature as a plugin; Qt 6 has to do it because of
OpenGL. But because of this, I wouldn't expect to see this problem at all:
libX11 is in use.
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest