[Bug 268652] Qt5: Some apps fails to start after upgrading to 5.15.8

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 18 Jan 2023 13:27:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268652

--- Comment #23 from Tomoaki AOKI <junchoon@dec.sakura.ne.jp> ---
(In reply to Bengt Ahlgren from comment #22)

Yes, /usr/local/bin/platforms is odd for FreeBSD (but Linux?).
It SHALL be /usr/local/lib/qt5/plugins/platforms.
Something should incorrectly overridden the default (or any of FreeBSD patch is
lost).

Just to test, doing

# ln -s /usr/local/lib/qt5/plugins/platforms /usr/local/bin/platforms

as root, and then vlc started up successfully, but with button icons being
simple rectangle. Maybe more things are overridden (or kept Linux defaults).

% env QT_DEBUG_PLUGINS=1 vlc
VLC media player 3.0.18 Vetinari (revision fb4ef23dde67)
[0000000828b00060] main libvlc: vlcはデフォルトのインターフェースで実行しています。インターフェースのない vlc
を使用するには'cvlc'を使用してください。
QFactoryLoader::QFactoryLoader() checking directory path
"/usr/local/bin/platforms" ...
QFactoryLoader::QFactoryLoader() looking at
"/usr/local/bin/platforms/libqbsdfb.so"
Found metadata in lib /usr/local/lib/qt5/plugins/platforms/libqbsdfb.so,
metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "bsdfb"
        ]
    },
    "archreq": 2,
    "className": "QBsdFbIntegrationPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("bsdfb")
QFactoryLoader::QFactoryLoader() looking at
"/usr/local/bin/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": 2,
    "className": "QMinimalIntegrationPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("minimal")
QFactoryLoader::QFactoryLoader() looking at
"/usr/local/bin/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": 2,
    "className": "QOffscreenIntegrationPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("offscreen")
QFactoryLoader::QFactoryLoader() looking at
"/usr/local/bin/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": 2,
    "className": "QVncIntegrationPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("vnc")
QFactoryLoader::QFactoryLoader() looking at
"/usr/local/bin/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": 2,
    "className": "QWaylandEglPlatformIntegrationPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("wayland-egl")
QFactoryLoader::QFactoryLoader() looking at
"/usr/local/bin/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": 2,
    "className": "QWaylandIntegrationPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("wayland")
QFactoryLoader::QFactoryLoader() looking at
"/usr/local/bin/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": 2,
    "className": "QWaylandXCompositeEglPlatformIntegrationPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("wayland-xcomposite-egl")
QFactoryLoader::QFactoryLoader() looking at
"/usr/local/bin/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": 2,
    "className": "QWaylandXCompositeGlxPlatformIntegrationPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("wayland-xcomposite-glx")
QFactoryLoader::QFactoryLoader() looking at
"/usr/local/bin/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": 2,
    "className": "QXcbIntegrationPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("xcb")
loaded library "/usr/local/lib/qt5/plugins/platforms/libqxcb.so"
loaded library "Xcursor"
QFactoryLoader::QFactoryLoader() checking directory path
"/usr/local/bin/platformthemes" ...
QFactoryLoader::QFactoryLoader() checking directory path
"/usr/local/bin/platforminputcontexts" ...
QFactoryLoader::QFactoryLoader() checking directory path
"/usr/local/bin/styles" ...
QFactoryLoader::QFactoryLoader() checking directory path
"/usr/local/bin/iconengines" ...
QFactoryLoader::QFactoryLoader() checking directory path
"/usr/local/bin/imageformats" ...
QFactoryLoader::QFactoryLoader() checking directory path
"/usr/local/bin/xcbglintegrations" ...
QFactoryLoader::QFactoryLoader() checking directory path
"/usr/local/bin/accessible" ...
QFactoryLoader::QFactoryLoader() checking directory path
"/usr/local/bin/accessiblebridge" ...
[0000000828af2be0] main playlist: playlist is empty

-- 
You are receiving this mail because:
You are on the CC list for the bug.