Skip to content

[qt-build:5.15.1] Could not find the Qt platform plugin "xcb" in "" #26

@aseifert

Description

@aseifert

Hello,

First off, thank you very much for this project, installing Qt inside Docker is a real pain!

Now I successfully compiled a Qt program with your build container, but when I tried to start it, I got the following message:

##W: Could not find the Qt platform plugin "xcb" in ""
##F: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: linuxfb, minimal, offscreen, vnc, webgl.

I saw that you recently closed #15, but I'm not sure if it's really fixed. I did find a libqxcb.so in /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms but if I add that plugin dir to the QT_QPA_PLATFORM_PLUGIN_PATH I get another error:

##W: QLibraryPrivate::loadPlugin failed on "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so" : "Cannot load library /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so: (/usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5: symbol _ZN11QFontEngine14bitmapForGlyphEj6QFixedRK10QTransform version Qt_5_PRIVATE_API not defined in file libQt5Gui.so.5 with link time reference)"
Could not load the Qt platform plugin "xcb" in "/usr/lib/x86_64-linux-gnu/qt5/plugins" even though it was found.
##F: 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, linuxfb, minimal, minimalegl, offscreen, vnc, xcb, webgl.

I'm not sure what to do at this point … Can you confirm that the xcb platform plugin is actually working? If so, do you maybe have an idea what I'm doing wrong?

Thank you very much!
Alex

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions