Solved Problems with libqxcb
-
I have been having some problems with libqxcb.so
If I run "ldd" on "/opt/Qt5/plugins/platforms/libqxcb.so", "libQt5XcbQpa.so.5" is reported as not being found.
Even though "libQt5XcbQpa.so.5" can be found in "/opt/Qt5/lib/libQt5XcbQpa.so.5"
ldd /opt/Qt5/lib/libQt5XcbQpa.so.5
libQt5Gui.so.5 => not found
libQt5DBus.so.5 => not found
libQt5Core.so.5 => not foundldd /opt/Qt5/lib/libQt5DBus.so.5
libQt5Core.so.5 => not foundldd /opt/Qt5/lib/libQt5Gui.so.5
libQt5Core.so.5 => not foundldd /opt/Qt5/lib/libQt5Core.so.5
[nothing is missing]ldd /opt/Qt5/lib/libQt5Gui.so.5
[nothing is missing] -
Hi and welcome to devnet,
How did you install Qt ?
Which version is it ? -
I'm using Qt5.15.2, compiled from source. I eventually figured out the problem. It just needed export paths for "LD_LIBRARY_PATH" and "QT_PLUGIN_PATH", then it worked Ok.
export LD_LIBRARY_PATH=/opt/Qt5/lib
export QT_PLUGIN_PATH=/opt/Qt5/plugins