Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#75881 - PyQt6 applications crash at startup

Attached to Project: Community Packages
Opened by Benoit Pierre (bpierre) - Sunday, 11 September 2022, 20:53 GMT
Last edited by Antonio Rojas (arojas) - Sunday, 11 September 2022, 22:22 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Calibre crashes at startup after the following warning:

```
Cannot mix incompatible Qt library (6.3.1) with this library (6.3.2)
```

Same issue with another package depending on PyQt6 (pyzo).

Can be reproduced with the following minimal Python invocation: `python -c 'from PyQt6.QtWidgets import QApplication; QApplication([])'`.

Additional info:
* package version(s): calibre 6.4.0-1, python-pyqt6 6.3.1-1, python-pyqt6-webengine 6.3.1-1, qt6-base 6.3.2-1, qt6-webengine 6.3.2-1
This task depends upon

Closed by  Antonio Rojas (arojas)
Sunday, 11 September 2022, 22:22 GMT
Reason for closing:  Not a bug
Comment by Antonio Rojas (arojas) - Sunday, 11 September 2022, 21:44 GMT
Please post a backtrace
Comment by Benoit Pierre (bpierre) - Sunday, 11 September 2022, 22:13 GMT
OK, while generating the backtrace I had the idea of running with `env QT_DEBUG_PLUGINS=1`, and the last trace is:

```
qt.core.library: "/usr/lib/qt6/plugins/styles/libqt6gtk2-style.so" loaded library
```

I have `QT_QPA_PLATFORMTHEME=gtk2` set in my environment, so it's an issue with `qt6gtk2` needing recompiling after a Qt6 update.

Loading...