Qt / qt.qpa.plugin: What is xcb for?
Hello, I'm testing the migration from PyQt5 to PyQt6. Starting "backintime-qt" I got this error message in the terminal. qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. Searching the BIT code via "git grep" it seems this message is not generated by BIT but by an underlying PyQt6/Qt6 component. First question is what this plugin is for and if we need it? Maybe we can switch that off somehow? Looking into Debians package description [1] it is something with "Deepin Desktop Environment" (I don't use). So I'm confused why and how this is involved with Back In Time. I couldn't find a trail in the BIT code about it. Maybe someone here can light me up? I found some discussions about that error message but they are in the context of building Qt6 from scratch. [2] [3] Kind Christian [1] -- <https://packages.debian.org/unstable/qt5dxcb-plugin> [2] -- <https://stackoverflow.com/q/68036484/4865723> [3] -- <https://forum.qt.io/topic/127696/qt-qpa-plugin-could-not-load-the-qt-platfor...>
Hey Folks, I just want to inform you. On 2023-05-18 08:39 <c.buhtz@posteo.jp> wrote:
Starting "backintime-qt" I got this error message in the terminal.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
[..] <https://forum.qt.io/topic/127696/qt-qpa-plugin-could-not-load-the-qt-platfor...>
The error message itself is gone with help from people of the Qt-forum. But I'm still not into the details. If someone else know what this plugin is for, why Qt use plugins and what part of Back In Time does trigger the loading of that plugin....
The Qt[5|6] xcb plugin is the "driver" (Qt platform abstraction) for X11 graphics and the best plugin is chosen by Qt automatically (from the installed ones only of course): https://doc.qt.io/qt-6/qpa.html I have started a documentation for that but it is not yet merged into DEV: https://github.com/aryoda/backintime/blob/PR/add_doc_dev_with_wayland_doc/do... The plugin is loaded for the BiT GUI as well as for the notifcation icon... On Mon, 2023-05-22 at 18:39 +0000, c.buhtz@posteo.jp wrote:
Hey Folks,
I just want to inform you.
On 2023-05-18 08:39 <c.buhtz@posteo.jp> wrote:
Starting "backintime-qt" I got this error message in the terminal.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
[..] <https://forum.qt.io/topic/127696/qt-qpa-plugin-could-not-load-the-qt-platfor...>
The error message itself is gone with help from people of the Qt-forum.
But I'm still not into the details. If someone else know what this plugin is for, why Qt use plugins and what part of Back In Time does trigger the loading of that plugin.... _______________________________________________ Bit-dev mailing list -- bit-dev@python.org To unsubscribe send an email to bit-dev-leave@python.org https://mail.python.org/mailman3/lists/bit-dev.python.org/ Member address: python@altfeld-im.de
Dear Jürgen, Am 23.05.2023 00:34 schrieb BiT dev:
I have started a documentation for that but it is not yet merged into DEV:
https://github.com/aryoda/backintime/blob/PR/add_doc_dev_with_wayland_doc/do...
Ah! Great work! Helped me to better understand and also understand my misinterpretations. I would describe such a plugin is a layer. It is not a plugin like an Firefox-AddOn. ;) Kind Christian
participants (2)
-
BiT dev
-
c.buhtz@posteo.jp