New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hooks: qt: update hooks for PySide6/PyQt6 v6.5.0 #7549
Commits on Apr 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 792cad7 - Browse repository at this point
Copy the full SHA 792cad7View commit details -
hooks: update PySide6 hooks for PySide6 6.5.0
Add hooks for `PySide6.QtLocation` and `PySide6.QtSerialBus` that are available in 6.5.0, and update corresponding module definitions. Also mark `QtPositioning` python module as available on all bindings, since that seems to be the case (and has been for a while?). As a side note, the preview of `PyQt6` 6.5.0 does not seem to provide `QtLocation` nor `QtSerialBus` python modules (nor the corresponding Qt shared libraries), so no change need to be made for `PyQt6` yet.
Configuration menu - View commit details
-
Copy full SHA for 7304cdb - Browse repository at this point
Copy the full SHA 7304cdbView commit details -
tests: improve test_QtNetwork_SSL_support
Add dynamic check for SSL support, and skip the test if it is not available (e.g., `QtNetwork` in `PySide6` 6.5.0 requires OpenSSL 3, which is unavailable on `ubuntu-20.04` GA runner). Also, have the test instantiate `QCoreApplication` to avoid a warning.
Configuration menu - View commit details
-
Copy full SHA for 7b4d616 - Browse repository at this point
Copy the full SHA 7b4d616View commit details -
hooks: qt: add hooks for {PySide6,PyQt6}.QtTextToSpeech
The python module for QtTextToSpeech seems to be added in PyQt6 6.4.0 and PySide6 6.5.0. The hooks ensure that plugins are collected.
Configuration menu - View commit details
-
Copy full SHA for 87711ec - Browse repository at this point
Copy the full SHA 87711ecView commit details -
tests: skip QtWebEngine tests under Windows and PySide6 6.5.0
PySide6 6.5.0 PyPI wheels seem to be missing `opengl32sw.dll`, which causes `QtWebEngine` applications in virtualized environments to crash due to failure to initialize OpenGL context.
Configuration menu - View commit details
-
Copy full SHA for 54e0334 - Browse repository at this point
Copy the full SHA 54e0334View commit details
Commits on Apr 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2c899ac - Browse repository at this point
Copy the full SHA 2c899acView commit details -
tests: Qt: always initialize QApplication with sys.argv
Looks like passing an empty list is causing problems with QtWebEngine in PyQt6 6.5.0. And even if we can get away with it in other tests and with other bindings, it makes more sense to properly pass `sys.argv`, as one would in a real application. Applies to all instantiations of `QCoreApplication`, `QGuiApplication`, and `QApplication`.
Configuration menu - View commit details
-
Copy full SHA for fc6fe67 - Browse repository at this point
Copy the full SHA fc6fe67View commit details -
hookutils: qt: always instantiate QCoreApplication with sys.argv
Instantiate `QCoreApplication` with `sys.argv` instead of an empty list to avoid potential issues in the future.
Configuration menu - View commit details
-
Copy full SHA for 5038cb5 - Browse repository at this point
Copy the full SHA 5038cb5View commit details -
hooks: qt: add hook for PyQt6.QtSpatialAudio
The python module for QtSpatialAudio was added in PyQt6 6.5.0.
Configuration menu - View commit details
-
Copy full SHA for e87e393 - Browse repository at this point
Copy the full SHA e87e393View commit details