[Problem] Force Anki to use it's bundled Qt libraries on Linux?

Hi, so, I was reading Packages Distributed by Linux Distributions in the manual of Anki, because I’m having this issue when trying to launch Anki on Clear Linux OS:

Anki starting…
Initial setup…
Preparing to run…
Wayland support is disabled by default due to bugs:
Wayland issues · Issue #1767 · ankitects/anki · GitHub
You can force it on with an env var: ANKI_WAYLAND=1
Qt warning: QGuiApplication::setDesktopFileName: the specified desktop file name ends with .desktop. For compatibility reasons, the .desktop suffix will be removed. Please specify a desktop file name without .desktop suffix
Qt warning: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
Qt info: Sandboxing disabled by user.
Qt fatal: Cannot mix incompatible Qt library (6.6.1) with this library (6.6.2)
Aborted (core dumped)

It would seem my distro has a more modern Qt library, since before the auto-update of my OS Anki was working fine. According to the manual, Anki has it’s own bundled libraries if I use the download on the official site (which I’m using). How can I force Anki to use it’s bundled libraries? Thank you!

I’m not sure why Qt is importing your system Qt - maybe it’s plugin-related? Do you see references to any system paths when you enable plugin debugging?

https://docs.ankiweb.net/platform/linux/missing-libraries.html

If so, does setting QT_PLUGIN_PATH to the plugins folder inside the Anki bundle help at all?

1 Like

Hm… I ran the command you gave to me, and surprisingly it seems Anki is actually trying to load it’s own Qt library instead of my system ones, which causes a bit of confusion on my end… I don’t think it will fix it, but I will try to reinstalling it?

I’m not too tech savvy, but I think Anki is trying to lead it’s own libraries, I leave the Terminal output just in case I did interpret it wrong:

Anki starting...
Initial setup...
Preparing to run...
Wayland support is disabled by default due to bugs:
https://github.com/ankitects/anki/issues/1767
You can force it on with an env var: ANKI_WAYLAND=1
Qt warning: QGuiApplication::setDesktopFileName: the specified desktop file name ends with .desktop. For compatibility reasons, the .desktop suffix will be removed. Please specify a desktop file name without .desktop suffix 
Qt debug: checking directory path "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms" ... 
Qt debug: looking at "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqeglfs.so" 
Qt debug: Found metadata in lib /usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqeglfs.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "eglfs"
        ]
    },
    "archlevel": 1,
    "className": "QEglFSIntegrationPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("eglfs") 
Qt debug: looking at "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqminimalegl.so" 
Qt debug: Found metadata in lib /usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqminimalegl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "minimalegl"
        ]
    },
    "archlevel": 1,
    "className": "QMinimalEglIntegrationPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("minimalegl") 
Qt debug: looking at "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqvkkhrdisplay.so" 
Qt debug: Found metadata in lib /usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqvkkhrdisplay.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "vkkhrdisplay"
        ]
    },
    "archlevel": 1,
    "className": "QVkKhrDisplayIntegrationPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("vkkhrdisplay") 
Qt debug: looking at "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqxcb.so" 
Qt debug: Found metadata in lib /usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqxcb.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "xcb"
        ]
    },
    "archlevel": 1,
    "className": "QXcbIntegrationPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("xcb") 
Qt debug: looking at "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqwayland-generic.so" 
Qt debug: Found metadata in lib /usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqwayland-generic.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland"
        ]
    },
    "archlevel": 1,
    "className": "QWaylandIntegrationPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("wayland") 
Qt debug: looking at "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqlinuxfb.so" 
Qt debug: Found metadata in lib /usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqlinuxfb.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "linuxfb"
        ]
    },
    "archlevel": 1,
    "className": "QLinuxFbIntegrationPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("linuxfb") 
Qt debug: looking at "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqvnc.so" 
Qt debug: Found metadata in lib /usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqvnc.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "vnc"
        ]
    },
    "archlevel": 1,
    "className": "QVncIntegrationPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("vnc") 
Qt debug: looking at "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqoffscreen.so" 
Qt debug: Found metadata in lib /usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqoffscreen.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "offscreen"
        ]
    },
    "archlevel": 1,
    "className": "QOffscreenIntegrationPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("offscreen") 
Qt debug: looking at "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqwayland-egl.so" 
Qt debug: Found metadata in lib /usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqwayland-egl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland-egl"
        ]
    },
    "archlevel": 1,
    "className": "QWaylandEglPlatformIntegrationPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("wayland-egl") 
Qt debug: looking at "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqminimal.so" 
Qt debug: Found metadata in lib /usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqminimal.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "minimal"
        ]
    },
    "archlevel": 1,
    "className": "QMinimalIntegrationPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("minimal") 
Qt debug: checking directory path "/usr/local/share/anki/platforms" ... 
Qt debug: "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforms/libqxcb.so" loaded library 
Qt debug: checking directory path "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/platformthemes" ... 
Qt debug: looking at "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/platformthemes/libqxdgdesktopportal.so" 
Qt debug: Found metadata in lib /usr/local/share/anki/lib/PyQt6/Qt6/plugins/platformthemes/libqxdgdesktopportal.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1",
    "MetaData": {
        "Keys": [
            "xdgdesktopportal",
            "flatpak",
            "snap"
        ]
    },
    "archlevel": 1,
    "className": "QXdgDesktopPortalThemePlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("xdgdesktopportal", "flatpak", "snap") 
Qt debug: looking at "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/platformthemes/libqgtk3.so" 
Qt debug: Found metadata in lib /usr/local/share/anki/lib/PyQt6/Qt6/plugins/platformthemes/libqgtk3.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1",
    "MetaData": {
        "Keys": [
            "gtk3"
        ]
    },
    "archlevel": 1,
    "className": "QGtk3ThemePlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("gtk3") 
Qt debug: checking directory path "/usr/local/share/anki/platformthemes" ... 
Qt debug: "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/platformthemes/libqgtk3.so" loaded library 
Qt debug: checking directory path "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforminputcontexts" ... 
Qt debug: looking at "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so" 
Qt debug: Found metadata in lib /usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so, metadata=
{
    "IID": "org.qt-project.Qt.QPlatformInputContextFactoryInterface.5.1",
    "MetaData": {
        "Keys": [
            "fcitx",
            "fcitx5"
        ]
    },
    "archlevel": 1,
    "className": "QFcitx5PlatformInputContextPlugin",
    "debug": false,
    "version": 394496
}

 
Qt debug: Got keys from plugin meta data QList("fcitx", "fcitx5") 
Qt debug: looking at "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so" 
Qt debug: Found metadata in lib /usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so, metadata=
{
    "IID": "org.qt-project.Qt.QPlatformInputContextFactoryInterface.5.1",
    "MetaData": {
        "Keys": [
            "ibus"
        ]
    },
    "archlevel": 1,
    "className": "QIbusPlatformInputContextPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("ibus") 
Qt debug: looking at "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so" 
Qt debug: Found metadata in lib /usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so, metadata=
{
    "IID": "org.qt-project.Qt.QPlatformInputContextFactoryInterface.5.1",
    "MetaData": {
        "Keys": [
            "compose",
            "xim"
        ]
    },
    "archlevel": 1,
    "className": "QComposePlatformInputContextPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("compose", "xim") 
Qt debug: checking directory path "/usr/local/share/anki/platforminputcontexts" ... 
Qt debug: "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so" loaded library 
Qt debug: checking directory path "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/xcbglintegrations" ... 
Qt debug: looking at "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/xcbglintegrations/libqxcb-egl-integration.so" 
Qt debug: Found metadata in lib /usr/local/share/anki/lib/PyQt6/Qt6/plugins/xcbglintegrations/libqxcb-egl-integration.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.Xcb.QXcbGlIntegrationFactoryInterface.5.5",
    "MetaData": {
        "Keys": [
            "xcb_egl"
        ]
    },
    "archlevel": 1,
    "className": "QXcbEglIntegrationPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("xcb_egl") 
Qt debug: looking at "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/xcbglintegrations/libqxcb-glx-integration.so" 
Qt debug: Found metadata in lib /usr/local/share/anki/lib/PyQt6/Qt6/plugins/xcbglintegrations/libqxcb-glx-integration.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.Xcb.QXcbGlIntegrationFactoryInterface.5.5",
    "MetaData": {
        "Keys": [
            "xcb_glx"
        ]
    },
    "archlevel": 1,
    "className": "QXcbGlxIntegrationPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("xcb_glx") 
Qt debug: checking directory path "/usr/local/share/anki/xcbglintegrations" ... 
Qt debug: "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/xcbglintegrations/libqxcb-glx-integration.so" cannot load: Cannot load library /usr/local/share/anki/lib/PyQt6/Qt6/plugins/xcbglintegrations/libqxcb-glx-integration.so: (/usr/local/share/anki/lib/PyQt6/Qt6/plugins/xcbglintegrations/libqxcb-glx-integration.so: undefined symbol: _ZThn16_NK10QXcbWindow6formatEv) 
Qt debug: QLibraryPrivate::loadPlugin failed on "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/xcbglintegrations/libqxcb-glx-integration.so" : "Cannot load library /usr/local/share/anki/lib/PyQt6/Qt6/plugins/xcbglintegrations/libqxcb-glx-integration.so: (/usr/local/share/anki/lib/PyQt6/Qt6/plugins/xcbglintegrations/libqxcb-glx-integration.so: undefined symbol: _ZThn16_NK10QXcbWindow6formatEv)" 
Qt debug: "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/xcbglintegrations/libqxcb-egl-integration.so" cannot load: Cannot load library /usr/local/share/anki/lib/PyQt6/Qt6/plugins/xcbglintegrations/libqxcb-egl-integration.so: (/usr/local/share/anki/lib/PyQt6/Qt6/plugins/xcbglintegrations/libqxcb-egl-integration.so: undefined symbol: _ZThn16_NK10QXcbWindow6formatEv) 
Qt debug: QLibraryPrivate::loadPlugin failed on "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/xcbglintegrations/libqxcb-egl-integration.so" : "Cannot load library /usr/local/share/anki/lib/PyQt6/Qt6/plugins/xcbglintegrations/libqxcb-egl-integration.so: (/usr/local/share/anki/lib/PyQt6/Qt6/plugins/xcbglintegrations/libqxcb-egl-integration.so: undefined symbol: _ZThn16_NK10QXcbWindow6formatEv)" 
Qt warning: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled 
Qt debug: checking directory path "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/styles" ... 
Qt debug: checking directory path "/usr/local/share/anki/styles" ... 
Qt debug: checking directory path "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/iconengines" ... 
Qt debug: looking at "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/iconengines/libqsvgicon.so" 
Qt debug: Found metadata in lib /usr/local/share/anki/lib/PyQt6/Qt6/plugins/iconengines/libqsvgicon.so, metadata=
{
    "IID": "org.qt-project.Qt.QIconEngineFactoryInterface",
    "MetaData": {
        "Keys": [
            "svg",
            "svgz",
            "svg.gz"
        ]
    },
    "archlevel": 1,
    "className": "QSvgIconPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("svg", "svgz", "svg.gz") 
Qt debug: checking directory path "/usr/local/share/anki/iconengines" ... 
Qt debug: "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/iconengines/libqsvgicon.so" loaded library 
Qt debug: checking directory path "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/imageformats" ... 
Qt debug: looking at "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/imageformats/libqpdf.so" 
Qt debug: Found metadata in lib /usr/local/share/anki/lib/PyQt6/Qt6/plugins/imageformats/libqpdf.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "pdf"
        ],
        "MimeTypes": [
            "application/pdf"
        ]
    },
    "archlevel": 1,
    "className": "QPdfPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("pdf") 
Qt debug: looking at "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/imageformats/libqjpeg.so" 
Qt debug: Found metadata in lib /usr/local/share/anki/lib/PyQt6/Qt6/plugins/imageformats/libqjpeg.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "jpg",
            "jpeg"
        ],
        "MimeTypes": [
            "image/jpeg",
            "image/jpeg"
        ]
    },
    "archlevel": 1,
    "className": "QJpegPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("jpg", "jpeg") 
Qt debug: looking at "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/imageformats/libqwbmp.so" 
Qt debug: Found metadata in lib /usr/local/share/anki/lib/PyQt6/Qt6/plugins/imageformats/libqwbmp.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "wbmp"
        ],
        "MimeTypes": [
            "image/vnd.wap.wbmp"
        ]
    },
    "archlevel": 1,
    "className": "QWbmpPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("wbmp") 
Qt debug: looking at "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/imageformats/libqwebp.so" 
Qt debug: Found metadata in lib /usr/local/share/anki/lib/PyQt6/Qt6/plugins/imageformats/libqwebp.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "webp"
        ],
        "MimeTypes": [
            "image/webp"
        ]
    },
    "archlevel": 1,
    "className": "QWebpPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("webp") 
Qt debug: looking at "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/imageformats/libqsvg.so" 
Qt debug: Found metadata in lib /usr/local/share/anki/lib/PyQt6/Qt6/plugins/imageformats/libqsvg.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "svg",
            "svgz"
        ],
        "MimeTypes": [
            "image/svg+xml",
            "image/svg+xml-compressed"
        ]
    },
    "archlevel": 1,
    "className": "QSvgPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("svg", "svgz") 
Qt debug: looking at "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/imageformats/libqtga.so" 
Qt debug: Found metadata in lib /usr/local/share/anki/lib/PyQt6/Qt6/plugins/imageformats/libqtga.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "tga"
        ],
        "MimeTypes": [
            "image/x-tga"
        ]
    },
    "archlevel": 1,
    "className": "QTgaPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("tga") 
Qt debug: looking at "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/imageformats/libqgif.so" 
Qt debug: Found metadata in lib /usr/local/share/anki/lib/PyQt6/Qt6/plugins/imageformats/libqgif.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "gif"
        ],
        "MimeTypes": [
            "image/gif"
        ]
    },
    "archlevel": 1,
    "className": "QGifPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("gif") 
Qt debug: looking at "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/imageformats/libqico.so" 
Qt debug: Found metadata in lib /usr/local/share/anki/lib/PyQt6/Qt6/plugins/imageformats/libqico.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "ico",
            "cur"
        ],
        "MimeTypes": [
            "image/vnd.microsoft.icon",
            "image/vnd.microsoft.icon"
        ]
    },
    "archlevel": 1,
    "className": "QICOPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("ico", "cur") 
Qt debug: looking at "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/imageformats/libqicns.so" 
Qt debug: Found metadata in lib /usr/local/share/anki/lib/PyQt6/Qt6/plugins/imageformats/libqicns.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "icns"
        ],
        "MimeTypes": [
            "image/x-icns"
        ]
    },
    "archlevel": 1,
    "className": "QICNSPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("icns") 
Qt debug: looking at "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/imageformats/libqtiff.so" 
Qt debug: Found metadata in lib /usr/local/share/anki/lib/PyQt6/Qt6/plugins/imageformats/libqtiff.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "tiff",
            "tif"
        ],
        "MimeTypes": [
            "image/tiff",
            "image/tiff"
        ]
    },
    "archlevel": 1,
    "className": "QTiffPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("tiff", "tif") 
Qt debug: checking directory path "/usr/local/share/anki/imageformats" ... 
Qt debug: "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/imageformats/libqsvg.so" loaded library 
Qt debug: "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/imageformats/libqpdf.so" loaded library 
Qt debug: "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/imageformats/libqjpeg.so" loaded library 
Qt debug: "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/imageformats/libqwbmp.so" loaded library 
Qt debug: "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/imageformats/libqwebp.so" loaded library 
Qt debug: "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/imageformats/libqtga.so" loaded library 
Qt debug: "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/imageformats/libqgif.so" loaded library 
Qt debug: "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/imageformats/libqico.so" loaded library 
Qt debug: "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/imageformats/libqicns.so" loaded library 
Qt debug: "/usr/local/share/anki/lib/PyQt6/Qt6/plugins/imageformats/libqtiff.so" loaded library 
Qt info: Sandboxing disabled by user. 
Qt fatal: Cannot mix incompatible Qt library (6.6.1) with this library (6.6.2) 
Aborted (core dumped)

I will reinstall just in case my installation is corrupted, although I don’t think it will fix it.

Tried with the downloaded package from the web, without reinstalling, just temporaly running it, but it still fails, and the weirdeist thing is that it tries to load it’s own library:

QT_DEBUG_PLUGINS=1 ./anki
Anki starting...
Initial setup...
Preparing to run...
Wayland support is disabled by default due to bugs:
https://github.com/ankitects/anki/issues/1767
You can force it on with an env var: ANKI_WAYLAND=1
Qt warning: QGuiApplication::setDesktopFileName: the specified desktop file name ends with .desktop. For compatibility reasons, the .desktop suffix will be removed. Please specify a desktop file name without .desktop suffix 
Qt debug: checking directory path "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/platforms" ... 
Qt debug: looking at "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/platforms/libqeglfs.so" 
Qt debug: Found metadata in lib /home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/platforms/libqeglfs.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "eglfs"
        ]
    },
    "archlevel": 1,
    "className": "QEglFSIntegrationPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("eglfs") 
Qt debug: looking at "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/platforms/libqminimalegl.so" 
Qt debug: Found metadata in lib /home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/platforms/libqminimalegl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "minimalegl"
        ]
    },
    "archlevel": 1,
    "className": "QMinimalEglIntegrationPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("minimalegl") 
Qt debug: looking at "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/platforms/libqvkkhrdisplay.so" 
Qt debug: Found metadata in lib /home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/platforms/libqvkkhrdisplay.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "vkkhrdisplay"
        ]
    },
    "archlevel": 1,
    "className": "QVkKhrDisplayIntegrationPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("vkkhrdisplay") 
Qt debug: looking at "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/platforms/libqxcb.so" 
Qt debug: Found metadata in lib /home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/platforms/libqxcb.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "xcb"
        ]
    },
    "archlevel": 1,
    "className": "QXcbIntegrationPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("xcb") 
Qt debug: looking at "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/platforms/libqwayland-generic.so" 
Qt debug: Found metadata in lib /home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/platforms/libqwayland-generic.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland"
        ]
    },
    "archlevel": 1,
    "className": "QWaylandIntegrationPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("wayland") 
Qt debug: looking at "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/platforms/libqlinuxfb.so" 
Qt debug: Found metadata in lib /home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/platforms/libqlinuxfb.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "linuxfb"
        ]
    },
    "archlevel": 1,
    "className": "QLinuxFbIntegrationPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("linuxfb") 
Qt debug: looking at "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/platforms/libqvnc.so" 
Qt debug: Found metadata in lib /home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/platforms/libqvnc.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "vnc"
        ]
    },
    "archlevel": 1,
    "className": "QVncIntegrationPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("vnc") 
Qt debug: looking at "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/platforms/libqoffscreen.so" 
Qt debug: Found metadata in lib /home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/platforms/libqoffscreen.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "offscreen"
        ]
    },
    "archlevel": 1,
    "className": "QOffscreenIntegrationPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("offscreen") 
Qt debug: looking at "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/platforms/libqwayland-egl.so" 
Qt debug: Found metadata in lib /home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/platforms/libqwayland-egl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "wayland-egl"
        ]
    },
    "archlevel": 1,
    "className": "QWaylandEglPlatformIntegrationPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("wayland-egl") 
Qt debug: looking at "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/platforms/libqminimal.so" 
Qt debug: Found metadata in lib /home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/platforms/libqminimal.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "minimal"
        ]
    },
    "archlevel": 1,
    "className": "QMinimalIntegrationPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("minimal") 
Qt debug: checking directory path "/home/Guido/Downloads/anki-23.12.1-linux-qt6/platforms" ... 
Qt debug: "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/platforms/libqxcb.so" loaded library 
Qt debug: checking directory path "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/platformthemes" ... 
Qt debug: looking at "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/platformthemes/libqxdgdesktopportal.so" 
Qt debug: Found metadata in lib /home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/platformthemes/libqxdgdesktopportal.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1",
    "MetaData": {
        "Keys": [
            "xdgdesktopportal",
            "flatpak",
            "snap"
        ]
    },
    "archlevel": 1,
    "className": "QXdgDesktopPortalThemePlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("xdgdesktopportal", "flatpak", "snap") 
Qt debug: looking at "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/platformthemes/libqgtk3.so" 
Qt debug: Found metadata in lib /home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/platformthemes/libqgtk3.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1",
    "MetaData": {
        "Keys": [
            "gtk3"
        ]
    },
    "archlevel": 1,
    "className": "QGtk3ThemePlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("gtk3") 
Qt debug: checking directory path "/home/Guido/Downloads/anki-23.12.1-linux-qt6/platformthemes" ... 
Qt debug: "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/platformthemes/libqgtk3.so" loaded library 
Qt debug: checking directory path "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/platforminputcontexts" ... 
Qt debug: looking at "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so" 
Qt debug: Found metadata in lib /home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so, metadata=
{
    "IID": "org.qt-project.Qt.QPlatformInputContextFactoryInterface.5.1",
    "MetaData": {
        "Keys": [
            "fcitx",
            "fcitx5"
        ]
    },
    "archlevel": 1,
    "className": "QFcitx5PlatformInputContextPlugin",
    "debug": false,
    "version": 394496
}

 
Qt debug: Got keys from plugin meta data QList("fcitx", "fcitx5") 
Qt debug: looking at "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so" 
Qt debug: Found metadata in lib /home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so, metadata=
{
    "IID": "org.qt-project.Qt.QPlatformInputContextFactoryInterface.5.1",
    "MetaData": {
        "Keys": [
            "ibus"
        ]
    },
    "archlevel": 1,
    "className": "QIbusPlatformInputContextPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("ibus") 
Qt debug: looking at "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so" 
Qt debug: Found metadata in lib /home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so, metadata=
{
    "IID": "org.qt-project.Qt.QPlatformInputContextFactoryInterface.5.1",
    "MetaData": {
        "Keys": [
            "compose",
            "xim"
        ]
    },
    "archlevel": 1,
    "className": "QComposePlatformInputContextPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("compose", "xim") 
Qt debug: checking directory path "/home/Guido/Downloads/anki-23.12.1-linux-qt6/platforminputcontexts" ... 
Qt debug: "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so" loaded library 
Qt debug: checking directory path "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/xcbglintegrations" ... 
Qt debug: looking at "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/xcbglintegrations/libqxcb-egl-integration.so" 
Qt debug: Found metadata in lib /home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/xcbglintegrations/libqxcb-egl-integration.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.Xcb.QXcbGlIntegrationFactoryInterface.5.5",
    "MetaData": {
        "Keys": [
            "xcb_egl"
        ]
    },
    "archlevel": 1,
    "className": "QXcbEglIntegrationPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("xcb_egl") 
Qt debug: looking at "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/xcbglintegrations/libqxcb-glx-integration.so" 
Qt debug: Found metadata in lib /home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/xcbglintegrations/libqxcb-glx-integration.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.Xcb.QXcbGlIntegrationFactoryInterface.5.5",
    "MetaData": {
        "Keys": [
            "xcb_glx"
        ]
    },
    "archlevel": 1,
    "className": "QXcbGlxIntegrationPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("xcb_glx") 
Qt debug: checking directory path "/home/Guido/Downloads/anki-23.12.1-linux-qt6/xcbglintegrations" ... 
Qt debug: "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/xcbglintegrations/libqxcb-glx-integration.so" cannot load: Cannot load library /home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/xcbglintegrations/libqxcb-glx-integration.so: (/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/xcbglintegrations/libqxcb-glx-integration.so: undefined symbol: _ZThn16_NK10QXcbWindow6formatEv) 
Qt debug: QLibraryPrivate::loadPlugin failed on "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/xcbglintegrations/libqxcb-glx-integration.so" : "Cannot load library /home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/xcbglintegrations/libqxcb-glx-integration.so: (/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/xcbglintegrations/libqxcb-glx-integration.so: undefined symbol: _ZThn16_NK10QXcbWindow6formatEv)" 
Qt debug: "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/xcbglintegrations/libqxcb-egl-integration.so" cannot load: Cannot load library /home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/xcbglintegrations/libqxcb-egl-integration.so: (/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/xcbglintegrations/libqxcb-egl-integration.so: undefined symbol: _ZThn16_NK10QXcbWindow6formatEv) 
Qt debug: QLibraryPrivate::loadPlugin failed on "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/xcbglintegrations/libqxcb-egl-integration.so" : "Cannot load library /home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/xcbglintegrations/libqxcb-egl-integration.so: (/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/xcbglintegrations/libqxcb-egl-integration.so: undefined symbol: _ZThn16_NK10QXcbWindow6formatEv)" 
Qt warning: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled 
Qt debug: checking directory path "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/styles" ... 
Qt debug: checking directory path "/home/Guido/Downloads/anki-23.12.1-linux-qt6/styles" ... 
Qt debug: checking directory path "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/iconengines" ... 
Qt debug: looking at "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/iconengines/libqsvgicon.so" 
Qt debug: Found metadata in lib /home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/iconengines/libqsvgicon.so, metadata=
{
    "IID": "org.qt-project.Qt.QIconEngineFactoryInterface",
    "MetaData": {
        "Keys": [
            "svg",
            "svgz",
            "svg.gz"
        ]
    },
    "archlevel": 1,
    "className": "QSvgIconPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("svg", "svgz", "svg.gz") 
Qt debug: checking directory path "/home/Guido/Downloads/anki-23.12.1-linux-qt6/iconengines" ... 
Qt debug: "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/iconengines/libqsvgicon.so" loaded library 
Qt debug: checking directory path "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/imageformats" ... 
Qt debug: looking at "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/imageformats/libqpdf.so" 
Qt debug: Found metadata in lib /home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/imageformats/libqpdf.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "pdf"
        ],
        "MimeTypes": [
            "application/pdf"
        ]
    },
    "archlevel": 1,
    "className": "QPdfPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("pdf") 
Qt debug: looking at "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/imageformats/libqjpeg.so" 
Qt debug: Found metadata in lib /home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/imageformats/libqjpeg.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "jpg",
            "jpeg"
        ],
        "MimeTypes": [
            "image/jpeg",
            "image/jpeg"
        ]
    },
    "archlevel": 1,
    "className": "QJpegPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("jpg", "jpeg") 
Qt debug: looking at "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/imageformats/libqwbmp.so" 
Qt debug: Found metadata in lib /home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/imageformats/libqwbmp.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "wbmp"
        ],
        "MimeTypes": [
            "image/vnd.wap.wbmp"
        ]
    },
    "archlevel": 1,
    "className": "QWbmpPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("wbmp") 
Qt debug: looking at "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/imageformats/libqwebp.so" 
Qt debug: Found metadata in lib /home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/imageformats/libqwebp.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "webp"
        ],
        "MimeTypes": [
            "image/webp"
        ]
    },
    "archlevel": 1,
    "className": "QWebpPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("webp") 
Qt debug: looking at "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/imageformats/libqsvg.so" 
Qt debug: Found metadata in lib /home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/imageformats/libqsvg.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "svg",
            "svgz"
        ],
        "MimeTypes": [
            "image/svg+xml",
            "image/svg+xml-compressed"
        ]
    },
    "archlevel": 1,
    "className": "QSvgPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("svg", "svgz") 
Qt debug: looking at "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/imageformats/libqtga.so" 
Qt debug: Found metadata in lib /home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/imageformats/libqtga.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "tga"
        ],
        "MimeTypes": [
            "image/x-tga"
        ]
    },
    "archlevel": 1,
    "className": "QTgaPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("tga") 
Qt debug: looking at "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/imageformats/libqgif.so" 
Qt debug: Found metadata in lib /home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/imageformats/libqgif.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "gif"
        ],
        "MimeTypes": [
            "image/gif"
        ]
    },
    "archlevel": 1,
    "className": "QGifPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("gif") 
Qt debug: looking at "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/imageformats/libqico.so" 
Qt debug: Found metadata in lib /home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/imageformats/libqico.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "ico",
            "cur"
        ],
        "MimeTypes": [
            "image/vnd.microsoft.icon",
            "image/vnd.microsoft.icon"
        ]
    },
    "archlevel": 1,
    "className": "QICOPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("ico", "cur") 
Qt debug: looking at "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/imageformats/libqicns.so" 
Qt debug: Found metadata in lib /home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/imageformats/libqicns.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "icns"
        ],
        "MimeTypes": [
            "image/x-icns"
        ]
    },
    "archlevel": 1,
    "className": "QICNSPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("icns") 
Qt debug: looking at "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/imageformats/libqtiff.so" 
Qt debug: Found metadata in lib /home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/imageformats/libqtiff.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "tiff",
            "tif"
        ],
        "MimeTypes": [
            "image/tiff",
            "image/tiff"
        ]
    },
    "archlevel": 1,
    "className": "QTiffPlugin",
    "debug": false,
    "version": 394752
}

 
Qt debug: Got keys from plugin meta data QList("tiff", "tif") 
Qt debug: checking directory path "/home/Guido/Downloads/anki-23.12.1-linux-qt6/imageformats" ... 
Qt debug: "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/imageformats/libqsvg.so" loaded library 
Qt debug: "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/imageformats/libqpdf.so" loaded library 
Qt debug: "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/imageformats/libqjpeg.so" loaded library 
Qt debug: "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/imageformats/libqwbmp.so" loaded library 
Qt debug: "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/imageformats/libqwebp.so" loaded library 
Qt debug: "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/imageformats/libqtga.so" loaded library 
Qt debug: "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/imageformats/libqgif.so" loaded library 
Qt debug: "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/imageformats/libqico.so" loaded library 
Qt debug: "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/imageformats/libqicns.so" loaded library 
Qt debug: "/home/Guido/Downloads/anki-23.12.1-linux-qt6/lib/PyQt6/Qt6/plugins/imageformats/libqtiff.so" loaded library 
Qt info: Sandboxing disabled by user. 
Qt fatal: Cannot mix incompatible Qt library (6.6.1) with this library (6.6.2) 
Aborted (core dumped)

It’s likely an error of my distro, but would be nice to know what is happening so I can properly report it.

If you use strace -fe open,openat ./anki 2> log.txt, then grep log.txt for .so, it should show all the locations Qt is loading libraries from. Presumably one or more of them is in a system folder? If it’s an obscure plugin you could possibly try moving it out of the folder, but if it’s a core Qt component I’m afraid I’m not sure of a way you could prevent it from being loaded, save uninstalling the system Qt (which may remove apps you depend on). You may have more luck with the unofficial flatpak, which will be isolated from the system.

1 Like

Actually, that command really helped me to make Anki working again!
I saw that Anki was both loading some system libraries and libraries from the package as well.

However, there was an unusual directory (which didn’t exist anymore) that was being loaded. Not going into much detail, but basically I installed another repo for swupd (Clear Linux own bundle manager) and it was causing issues, there were some remnats of it in the PATH, so I deleted every trace of it. After that I executed this command (not sure if it’s really needed):

sudo ldconfig

Rebooted and yep, Anki managed to boot. Thanks a lot for your help! :smile:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.