Skip to content
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

Merged
merged 9 commits into from Apr 10, 2023

Commits on Apr 7, 2023

  1. tests: update PySide6 to 6.5.0

    rokm committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    792cad7 View commit details
    Browse the repository at this point in the history
  2. 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.
    rokm committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    7304cdb View commit details
    Browse the repository at this point in the history
  3. 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.
    rokm committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    7b4d616 View commit details
    Browse the repository at this point in the history
  4. 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.
    rokm committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    87711ec View commit details
    Browse the repository at this point in the history
  5. 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.
    rokm committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    54e0334 View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2023

  1. tests: update PyQt6 to 6.5.0

    rokm committed Apr 10, 2023
    Configuration menu
    Copy the full SHA
    2c899ac View commit details
    Browse the repository at this point in the history
  2. 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`.
    rokm committed Apr 10, 2023
    Configuration menu
    Copy the full SHA
    fc6fe67 View commit details
    Browse the repository at this point in the history
  3. 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.
    rokm committed Apr 10, 2023
    Configuration menu
    Copy the full SHA
    5038cb5 View commit details
    Browse the repository at this point in the history
  4. hooks: qt: add hook for PyQt6.QtSpatialAudio

    The python module for QtSpatialAudio was added in PyQt6 6.5.0.
    rokm committed Apr 10, 2023
    Configuration menu
    Copy the full SHA
    e87e393 View commit details
    Browse the repository at this point in the history