You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my project, I had an issue where running with -bundle-non-qt-libs was causing my app to freeze permanently as soon as I tried to open a tab that used QtWebEngine.
I'm building on a CentOS 7 machine with Qt 5.15.13 installed.
When running the bundled binary (with libX11-xcb.so.1 included), it would run fine on CentOS 7, Rocky 8, and Ubuntu 20 (all on version <1.7 of libX11-xcb), but broke on Rocky 9, Fedora 37/38, and Ubuntu 22 (all come with version 1.7+)
It seems that even though libX11.so.6 and libxcb.so.1 are both on the excludelist, libX11-xcb.so.1 isn't. This is odd, since libX11-xcb.so.1 is an interoperability library for the two excluded libs. It seems like their version mismatch is causing issues. It absolutely could be QtWebEngine's fault, or something else, but that's what it looks like to me.
After adding -exclude-libs=libX11-xcb.so.1 to my linuxdeployqt invocation, everything worked. This might be specific to my situation, but it seems like it might be a good idea in general to connect this library's inclusion or exclusion to the other two.
The text was updated successfully, but these errors were encountered:
probonopd
added a commit
to AppImageCommunity/pkg2appimage
that referenced
this issue
Aug 16, 2023
In my project, I had an issue where running with
-bundle-non-qt-libs
was causing my app to freeze permanently as soon as I tried to open a tab that used QtWebEngine.I'm building on a CentOS 7 machine with Qt 5.15.13 installed.
When running the bundled binary (with
libX11-xcb.so.1
included), it would run fine on CentOS 7, Rocky 8, and Ubuntu 20 (all on version <1.7 oflibX11-xcb
), but broke on Rocky 9, Fedora 37/38, and Ubuntu 22 (all come with version 1.7+)It seems that even though
libX11.so.6
andlibxcb.so.1
are both on the excludelist,libX11-xcb.so.1
isn't. This is odd, sincelibX11-xcb.so.1
is an interoperability library for the two excluded libs. It seems like their version mismatch is causing issues. It absolutely could be QtWebEngine's fault, or something else, but that's what it looks like to me.After adding
-exclude-libs=libX11-xcb.so.1
to mylinuxdeployqt
invocation, everything worked. This might be specific to my situation, but it seems like it might be a good idea in general to connect this library's inclusion or exclusion to the other two.The text was updated successfully, but these errors were encountered: