Ubuntu 19.04: libQt5XcbQpa.so.5: symbol _ZN22QWindowSystemInterface17handleScreenAddedEP15QPlatformScreenb version Qt_5_PRIVATE_API not defined in file libQt5Gui.so.5 with link time reference
-
I have just upgraded to version 19.04 of Ubuntu and I have just updated Qt to version 5.12.3
Compiling and deploying is going well but when I try to launch the application, I get the error message:
/opt/WinStars3/./WinStars3: relocation error: /opt/WinStars3/./lib/libQt5XcbQpa.so.5: symbol _ZN22QWindowSystemInterface17handleScreenAddedEP15QPlatformScreenb version Qt_5_PRIVATE_API not defined in file libQt5Gui.so.5 with link time reference
The result of ldd :
```
linux-vdso.so.1 (0x00007ffc59925000)
libz.so.1 => /usr/local/lib/libz.so.1 (0x00007fa0d5974000)
libharfbuzz.so.0 => /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007fa0d587b000)
libquazip5.so.1 => /usr/lib/x86_64-linux-gnu/libquazip5.so.1 (0x00007fa0d584a000)
libpng16.so.16 => /usr/lib/x86_64-linux-gnu/libpng16.so.16 (0x00007fa0d5813000)
libQt5Widgets.so.5 => /opt/WinStars3/./lib/libQt5Widgets.so.5 (0x00007fa0d4fc5000)
libQt5QuickControls2.so.5 => /opt/WinStars3/./lib/libQt5QuickControls2.so.5 (0x00007fa0d4d94000)
libQt5Quick.so.5 => /opt/WinStars3/./lib/libQt5Quick.so.5 (0x00007fa0d46f6000)
libQt5Gui.so.5 => /opt/WinStars3/./lib/libQt5Gui.so.5 (0x00007fa0d3ecf000)
libQt5Sensors.so.5 => /opt/WinStars3/./lib/libQt5Sensors.so.5 (0x00007fa0d3c8f000)
libQt5Qml.so.5 => /opt/WinStars3/./lib/libQt5Qml.so.5 (0x00007fa0d35ee000)
libQt5Network.so.5 => /opt/WinStars3/./lib/libQt5Network.so.5 (0x00007fa0d3248000)
libQt5Positioning.so.5 => /opt/WinStars3/./lib/libQt5Positioning.so.5 (0x00007fa0d2fb3000)
libQt5Purchasing.so.5 => /opt/WinStars3/./lib/libQt5Purchasing.so.5 (0x00007fa0d2da7000)
libQt5Core.so.5 => /opt/WinStars3/./lib/libQt5Core.so.5 (0x00007fa0d2614000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fa0d25f3000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fa0d2412000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fa0d22c4000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fa0d22aa000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fa0d20bd000)
libglib-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007fa0d1f9c000)
libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007fa0d1ee1000)
libgraphite2.so.3 => /usr/lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007fa0d1eb4000)
libGL.so.1 => /usr/lib/x86_64-linux-gnu/libGL.so.1 (0x00007fa0d1e20000)
libQt5QuickTemplates2.so.5 => /opt/WinStars3/./lib/libQt5QuickTemplates2.so.5 (0x00007fa0d1acd000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fa0d1ac2000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fa0d1abc000)
libicui18n.so.56 => /opt/WinStars3/./lib/libicui18n.so.56 (0x00007fa0d1623000)
libicuuc.so.56 => /opt/WinStars3/./lib/libicuuc.so.56 (0x00007fa0d126b000)
libicudata.so.56 => /opt/WinStars3/./lib/libicudata.so.56 (0x00007fa0cf886000)
libgthread-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0 (0x00007fa0cf881000)
/lib64/ld-linux-x86-64.so.2 (0x00007fa0d603d000)
libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007fa0cf80d000)
libGLX.so.0 => /usr/lib/x86_64-linux-gnu/libGLX.so.0 (0x00007fa0cf7d9000)
libGLdispatch.so.0 => /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007fa0cf71c000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007fa0cf5e0000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007fa0cf5b7000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007fa0cf3b3000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007fa0cf1ad000)
libbsd.so.0 => /usr/lib/x86_64-linux-gnu/libbsd.so.0 (0x00007fa0cf193000)when I define the export variable QT_DEBUG_PLUGINS=1 I get :
QFactoryLoader::QFactoryLoader() looking at "/opt/WinStars3/plugins/platforms/libqxcb.so"
Found metadata in lib /opt/WinStars3/plugins/platforms/libqxcb.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"xcb"
]
},
"archreq": 0,
"className": "QXcbIntegrationPlugin",
"debug": false,
"version": 330752
}Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/opt/WinStars3/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/opt/WinStars3/platforms/libqeglfs.so"
Found metadata in lib /opt/WinStars3/platforms/libqeglfs.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"eglfs"
]
},
"archreq": 0,
"className": "QEglFSIntegrationPlugin",
"debug": false,
"version": 330752
}Got keys from plugin meta data ("eglfs")
QFactoryLoader::QFactoryLoader() looking at "/opt/WinStars3/platforms/libqlinuxfb.so"
Found metadata in lib /opt/WinStars3/platforms/libqlinuxfb.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"linuxfb"
]
},
"archreq": 0,
"className": "QLinuxFbIntegrationPlugin",
"debug": false,
"version": 330752
}Got keys from plugin meta data ("linuxfb")
QFactoryLoader::QFactoryLoader() looking at "/opt/WinStars3/platforms/libqminimal.so"
Found metadata in lib /opt/WinStars3/platforms/libqminimal.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"minimal"
]
},
"archreq": 0,
"className": "QMinimalIntegrationPlugin",
"debug": false,
"version": 330752
}Got keys from plugin meta data ("minimal")
QFactoryLoader::QFactoryLoader() looking at "/opt/WinStars3/platforms/libqminimalegl.so"
Found metadata in lib /opt/WinStars3/platforms/libqminimalegl.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"minimalegl"
]
},
"archreq": 0,
"className": "QMinimalEglIntegrationPlugin",
"debug": false,
"version": 330752
}Got keys from plugin meta data ("minimalegl")
QFactoryLoader::QFactoryLoader() looking at "/opt/WinStars3/platforms/libqoffscreen.so"
Found metadata in lib /opt/WinStars3/platforms/libqoffscreen.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"offscreen"
]
},
"archreq": 0,
"className": "QOffscreenIntegrationPlugin",
"debug": false,
"version": 330752
}Got keys from plugin meta data ("offscreen")
QFactoryLoader::QFactoryLoader() looking at "/opt/WinStars3/platforms/libqvnc.so"
Found metadata in lib /opt/WinStars3/platforms/libqvnc.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"vnc"
]
},
"archreq": 0,
"className": "QVncIntegrationPlugin",
"debug": false,
"version": 330752
}Got keys from plugin meta data ("vnc")
QFactoryLoader::QFactoryLoader() looking at "/opt/WinStars3/platforms/libqwayland-egl.so"
Found metadata in lib /opt/WinStars3/platforms/libqwayland-egl.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"wayland-egl"
]
},
"archreq": 0,
"className": "QWaylandEglPlatformIntegrationPlugin",
"debug": false,
"version": 330752
}Got keys from plugin meta data ("wayland-egl")
QFactoryLoader::QFactoryLoader() looking at "/opt/WinStars3/platforms/libqwayland-generic.so"
Found metadata in lib /opt/WinStars3/platforms/libqwayland-generic.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"wayland"
]
},
"archreq": 0,
"className": "QWaylandIntegrationPlugin",
"debug": false,
"version": 330752
}Got keys from plugin meta data ("wayland")
QFactoryLoader::QFactoryLoader() looking at "/opt/WinStars3/platforms/libqwayland-xcomposite-egl.so"
Found metadata in lib /opt/WinStars3/platforms/libqwayland-xcomposite-egl.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"wayland-xcomposite-egl"
]
},
"archreq": 0,
"className": "QWaylandXCompositeEglPlatformIntegrationPlugin",
"debug": false,
"version": 330752
}Got keys from plugin meta data ("wayland-xcomposite-egl")
QFactoryLoader::QFactoryLoader() looking at "/opt/WinStars3/platforms/libqwayland-xcomposite-glx.so"
Found metadata in lib /opt/WinStars3/platforms/libqwayland-xcomposite-glx.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"wayland-xcomposite-glx"
]
},
"archreq": 0,
"className": "QWaylandXCompositeGlxPlatformIntegrationPlugin",
"debug": false,
"version": 330752
}Got keys from plugin meta data ("wayland-xcomposite-glx")
QFactoryLoader::QFactoryLoader() looking at "/opt/WinStars3/platforms/libqxcb.so"
Found metadata in lib /opt/WinStars3/platforms/libqxcb.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"xcb"
]
},
"archreq": 0,
"className": "QXcbIntegrationPlugin",
"debug": false,
"version": 330752
}Got keys from plugin meta data ("xcb")
loaded library "/opt/WinStars3/plugins/platforms/libqxcb.so"
loaded library "Xcursor"
/opt/WinStars3/./WinStars3: relocation error: /opt/WinStars3/./lib/libQt5XcbQpa.so.5: symbol _ZN22QWindowSystemInterface17handleScreenAddedEP15QPlatformScreenb version Qt_5_PRIVATE_API not defined in file libQt5Gui.so.5 with link time reference
root@karlhal-System-Product-Name:/opt/WinStars3# ./WinStars3.sh
QFactoryLoader::QFactoryLoader() checking directory path "/opt/WinStars3/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/opt/WinStars3/plugins/platforms/libqxcb.so"
Found metadata in lib /opt/WinStars3/plugins/platforms/libqxcb.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"xcb"
]
},
"archreq": 0,
"className": "QXcbIntegrationPlugin",
"debug": false,
"version": 330752
}Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/opt/WinStars3/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/opt/WinStars3/platforms/libqeglfs.so"
Found metadata in lib /opt/WinStars3/platforms/libqeglfs.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"eglfs"
]
},
"archreq": 0,
"className": "QEglFSIntegrationPlugin",
"debug": false,
"version": 330752
}Got keys from plugin meta data ("eglfs")
QFactoryLoader::QFactoryLoader() looking at "/opt/WinStars3/platforms/libqlinuxfb.so"
Found metadata in lib /opt/WinStars3/platforms/libqlinuxfb.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"linuxfb"
]
},
"archreq": 0,
"className": "QLinuxFbIntegrationPlugin",
"debug": false,
"version": 330752
}Got keys from plugin meta data ("linuxfb")
QFactoryLoader::QFactoryLoader() looking at "/opt/WinStars3/platforms/libqminimal.so"
Found metadata in lib /opt/WinStars3/platforms/libqminimal.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"minimal"
]
},
"archreq": 0,
"className": "QMinimalIntegrationPlugin",
"debug": false,
"version": 330752
}Got keys from plugin meta data ("minimal")
QFactoryLoader::QFactoryLoader() looking at "/opt/WinStars3/platforms/libqminimalegl.so"
Found metadata in lib /opt/WinStars3/platforms/libqminimalegl.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"minimalegl"
]
},
"archreq": 0,
"className": "QMinimalEglIntegrationPlugin",
"debug": false,
"version": 330752
}Got keys from plugin meta data ("minimalegl")
QFactoryLoader::QFactoryLoader() looking at "/opt/WinStars3/platforms/libqoffscreen.so"
Found metadata in lib /opt/WinStars3/platforms/libqoffscreen.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"offscreen"
]
},
"archreq": 0,
"className": "QOffscreenIntegrationPlugin",
"debug": false,
"version": 330752
}Got keys from plugin meta data ("offscreen")
QFactoryLoader::QFactoryLoader() looking at "/opt/WinStars3/platforms/libqvnc.so"
Found metadata in lib /opt/WinStars3/platforms/libqvnc.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"vnc"
]
},
"archreq": 0,
"className": "QVncIntegrationPlugin",
"debug": false,
"version": 330752
}Got keys from plugin meta data ("vnc")
QFactoryLoader::QFactoryLoader() looking at "/opt/WinStars3/platforms/libqwayland-egl.so"
Found metadata in lib /opt/WinStars3/platforms/libqwayland-egl.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"wayland-egl"
]
},
"archreq": 0,
"className": "QWaylandEglPlatformIntegrationPlugin",
"debug": false,
"version": 330752
}Got keys from plugin meta data ("wayland-egl")
QFactoryLoader::QFactoryLoader() looking at "/opt/WinStars3/platforms/libqwayland-generic.so"
Found metadata in lib /opt/WinStars3/platforms/libqwayland-generic.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"wayland"
]
},
"archreq": 0,
"className": "QWaylandIntegrationPlugin",
"debug": false,
"version": 330752
}Got keys from plugin meta data ("wayland")
QFactoryLoader::QFactoryLoader() looking at "/opt/WinStars3/platforms/libqwayland-xcomposite-egl.so"
Found metadata in lib /opt/WinStars3/platforms/libqwayland-xcomposite-egl.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"wayland-xcomposite-egl"
]
},
"archreq": 0,
"className": "QWaylandXCompositeEglPlatformIntegrationPlugin",
"debug": false,
"version": 330752
}Got keys from plugin meta data ("wayland-xcomposite-egl")
QFactoryLoader::QFactoryLoader() looking at "/opt/WinStars3/platforms/libqwayland-xcomposite-glx.so"
Found metadata in lib /opt/WinStars3/platforms/libqwayland-xcomposite-glx.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"wayland-xcomposite-glx"
]
},
"archreq": 0,
"className": "QWaylandXCompositeGlxPlatformIntegrationPlugin",
"debug": false,
"version": 330752
}Got keys from plugin meta data ("wayland-xcomposite-glx")
QFactoryLoader::QFactoryLoader() looking at "/opt/WinStars3/platforms/libqxcb.so"
Found metadata in lib /opt/WinStars3/platforms/libqxcb.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"xcb"
]
},
"archreq": 0,
"className": "QXcbIntegrationPlugin",
"debug": false,
"version": 330752
}Got keys from plugin meta data ("xcb")
loaded library "/opt/WinStars3/plugins/platforms/libqxcb.so"
loaded library "Xcursor"
/opt/WinStars3/./WinStars3: relocation error: /opt/WinStars3/./lib/libQt5XcbQpa.so.5: symbol _ZN22QWindowSystemInterface17handleScreenAddedEP15QPlatformScreenb version Qt_5_PRIVATE_API not defined in file libQt5Gui.so.5 with link time referenceEverything worked well with Ubuntu 18.10 and Qt 5.12.2 What's going on? With my thanks,