On Wed Jul 19, 2023 at 06:17:08PM +0200, Alexis de BRUYN [Mailing Lists] wrote:
> Hi Everybody,
>
> Following -current, I have just sysupgraded / pkg_add -u (after ~40 days),
> and I cannot launch qt applications anymore :
>
> $ nextcloud
> qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though
> it was found.
> This application failed to start because no Qt platform plugin could be
> initialized. Reinstalling the application may fix this problem.
>
> Available platform plugins are: eglfs, minimal, minimalegl, offscreen, vnc,
> wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
Could you run qtdiag-qt5 and send the output?
>
> Abort trap
>
> $ doas pkg_add -r qtbase-5.15.10
> quirks-6.134 signed on 2023-07-18T21:18:51Z
>
> $ QT_PLUGIN_PATH=/usr/local/lib/qt5/plugins/ nextcloud
> qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though
> it was found.
> This application failed to start because no Qt platform plugin could be
> initialized. Reinstalling the application may fix this problem.
>
> Available platform plugins are: eglfs, minimal, minimalegl, offscreen, vnc,
> wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
>
> Abort trap
>
> $ QT_DEBUG_PLUGINS=1 nextcloud
> QFactoryLoader::QFactoryLoader() checking directory path
> "/usr/local/lib/qt5/plugins/platforms" ...
> QFactoryLoader::QFactoryLoader() looking at
> "/usr/local/lib/qt5/plugins/platforms/libqeglfs.so"
> Found metadata in lib /usr/local/lib/qt5/plugins/platforms/libqeglfs.so,
> metadata=
> {
> "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
> "MetaData": {
> "Keys": [
> "eglfs"
> ]
> },
> "archreq": 0,
> "className": "QEglFSIntegrationPlugin",
> "debug": false,
> "version": 331520
> }
>
>
> Got keys from plugin meta data ("eglfs")
> QFactoryLoader::QFactoryLoader() looking at
> "/usr/local/lib/qt5/plugins/platforms/libqminimal.so"
> Found metadata in lib /usr/local/lib/qt5/plugins/platforms/libqminimal.so,
> metadata=
> {
> "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
> "MetaData": {
> "Keys": [
> "minimal"
> ]
> },
> "archreq": 0,
> "className": "QMinimalIntegrationPlugin",
> "debug": false,
> "version": 331520
> }
>
>
> Got keys from plugin meta data ("minimal")
> QFactoryLoader::QFactoryLoader() looking at
> "/usr/local/lib/qt5/plugins/platforms/libqminimalegl.so"
> Found metadata in lib
> /usr/local/lib/qt5/plugins/platforms/libqminimalegl.so, metadata=
> {
> "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
> "MetaData": {
> "Keys": [
> "minimalegl"
> ]
> },
> "archreq": 0,
> "className": "QMinimalEglIntegrationPlugin",
> "debug": false,
> "version": 331520
> }
>
>
> Got keys from plugin meta data ("minimalegl")
> QFactoryLoader::QFactoryLoader() looking at
> "/usr/local/lib/qt5/plugins/platforms/libqoffscreen.so"
> Found metadata in lib /usr/local/lib/qt5/plugins/platforms/libqoffscreen.so,
> metadata=
> {
> "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
> "MetaData": {
> "Keys": [
> "offscreen"
> ]
> },
> "archreq": 0,
> "className": "QOffscreenIntegrationPlugin",
> "debug": false,
> "version": 331520
> }
>
>
> Got keys from plugin meta data ("offscreen")
> QFactoryLoader::QFactoryLoader() looking at
> "/usr/local/lib/qt5/plugins/platforms/libqvnc.so"
> Found metadata in lib /usr/local/lib/qt5/plugins/platforms/libqvnc.so,
> metadata=
> {
> "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
> "MetaData": {
> "Keys": [
> "vnc"
> ]
> },
> "archreq": 0,
> "className": "QVncIntegrationPlugin",
> "debug": false,
> "version": 331520
> }
>
>
> Got keys from plugin meta data ("vnc")
> QFactoryLoader::QFactoryLoader() looking at
> "/usr/local/lib/qt5/plugins/platforms/libqwayland-egl.so"
> Found metadata in lib
> /usr/local/lib/qt5/plugins/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": 331520
> }
>
>
> Got keys from plugin meta data ("wayland-egl")
> QFactoryLoader::QFactoryLoader() looking at
> "/usr/local/lib/qt5/plugins/platforms/libqwayland-generic.so"
> Found metadata in lib
> /usr/local/lib/qt5/plugins/platforms/libqwayland-generic.so, metadata=
> {
> "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
> "MetaData": {
> "Keys": [
> "wayland"
> ]
> },
> "archreq": 0,
> "className": "QWaylandIntegrationPlugin",
> "debug": false,
> "version": 331520
> }
>
>
> Got keys from plugin meta data ("wayland")
> QFactoryLoader::QFactoryLoader() looking at
> "/usr/local/lib/qt5/plugins/platforms/libqwayland-xcomposite-egl.so"
> Found metadata in lib
> /usr/local/lib/qt5/plugins/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": 331520
> }
>
>
> Got keys from plugin meta data ("wayland-xcomposite-egl")
> QFactoryLoader::QFactoryLoader() looking at
> "/usr/local/lib/qt5/plugins/platforms/libqwayland-xcomposite-glx.so"
> Found metadata in lib
> /usr/local/lib/qt5/plugins/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": 331520
> }
>
>
> Got keys from plugin meta data ("wayland-xcomposite-glx")
> QFactoryLoader::QFactoryLoader() looking at
> "/usr/local/lib/qt5/plugins/platforms/libqxcb.so"
> Found metadata in lib /usr/local/lib/qt5/plugins/platforms/libqxcb.so,
> metadata=
> {
> "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
> "MetaData": {
> "Keys": [
> "xcb"
> ]
> },
> "archreq": 0,
> "className": "QXcbIntegrationPlugin",
> "debug": false,
> "version": 331520
> }
>
>
> Got keys from plugin meta data ("xcb")
> QFactoryLoader::QFactoryLoader() checking directory path
> "/usr/local/bin/platforms" ...
> Cannot load library /usr/local/lib/qt5/plugins/platforms/libqxcb.so: (Cannot
> load specified object)
> QLibraryPrivate::loadPlugin failed on
> "/usr/local/lib/qt5/plugins/platforms/libqxcb.so" : "Cannot load library
> /usr/local/lib/qt5/plugins/platforms/libqxcb.so: (Cannot load specified
> object)"
> qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though
> it was found.
> This application failed to start because no Qt platform plugin could be
> initialized. Reinstalling the application may fix this problem.
>
> Available platform plugins are: eglfs, minimal, minimalegl, offscreen, vnc,
> wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
>
> Abort trap
>
> Thanks a lot for your help,
>
> Alexis.
>
> --
> Alexis de BRUYN
>