Bug: QApplication() raise nothing on tty

c.buhtz at posteo.jp c.buhtz at posteo.jp
Mon Jul 17 21:17:44 BST 2023


Hello Florian,

as a real world example please let me show you how much work and action
is done in my team just to workaround that problem.

Please see this function [1] and the magic behind [2]. There we figuring out if Qt is available or not because our application is able to run on tty and on X/Wayland.

For more context please visit the related PR [3].

Thanks for your time.

[1] -- <https://github.com/aryoda/backintime/blob/a107ad9ab0e6db1855cad05cbf2b9a0c05919d78/common/tools.py#L532>
[2] -- <https://github.com/aryoda/backintime/blob/issue/1306_tray_icon_master_issue/common/qt5_probing.py>
[3] -- <https://github.com/bit-team/backintime/pull/1480>


More information about the PyQt mailing list