-
Notifications
You must be signed in to change notification settings - Fork 257
Drop support for Qt 4 and python 3.6 and below #450
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
Draft
MHendricks
wants to merge
20
commits into
mottosso:master_2.0
Choose a base branch
from
blurstudio-forks:mikeh/2.0_drop_qt4
base: master_2.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Drop support for Qt 4 and python 3.6 and below #450
MHendricks
wants to merge
20
commits into
mottosso:master_2.0
from
blurstudio-forks:mikeh/2.0_drop_qt4
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1703194 to
752a85a
Compare
056a932 to
ac44038
Compare
ac44038 to
f6e91a5
Compare
674037f to
a99d9fb
Compare
0a26ada to
2d4f021
Compare
Excluding required python 2 specific fixes
Leaving Python 3 only fixes for now
Prevent json parsing errors caused by printing when printing json
Cy2020 uses python 3.7 and Qt 5.13. Correct Cy2021 test to use python 3.7 Improve py 3.7 PyQt5-sip workaround in tox. This prevents needing to have visual studio installed to compile sdist by forcing it to use versions providing pre-built wheels.
On linux these require the pulse audio libraries.
Sorts PySide before PyQt and Qt 6 before Qt 5. Also Remove QIntList from membership report. It will not be common for the 2.0 versions of Qt.py because it is not available in PySide2, PyQt5 or PyQt6. It's also adding a lot of visual clutter being present in ~50 modules in PySide6.
Uses the common_members.json generated list Update membership.py to exclude platform specific members
This includes a workaround for python 3.7 and PySide2 in python 3.9.
Update github actions for artifact upload/download
This enables mapping QAction to the QtGui for the PySide6 reference, but still add it to QtWidgets for backwards compatibility.
Adds support for adding `Qt.QtOpenGl` and other modules. These modules don't actually have any common members because the different bindings used unique module names. For example in Qt6 all QtOpenGL functions are stored under QtOpenGL, but in PySide2 they are stored under QtGui and QtOpenGLFunctions, and PyQt5 is ... complex. Also moves most of the extras passed to _setup into the `__extras__` key of `_misplaced_members[binding]`. This allows QtSiteConfig to customize them. Remove Qt 5.11 legacy support for PyQt5 sip import. QtWidgets.QFileSystemModel is now mapped to all misplaced bindings and tested.
This shows how to use QtSiteConfig to add this module as well as modifying the new `__extras__` misplaced member feature.
2d4f021 to
fa28adb
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The second of several pull requests to update Qt.py, dropping support for Qt4. Removes support for python 3.6 and below as well as support for Qt4(PySide, PyQt4). This includes Cy2020 support of Qt5.13 and is intended to be the 2.0 release of Qt.py.
NOTE: This will be rebased and merged on top of #449. See roadmap for the plan.