-
Notifications
You must be signed in to change notification settings - Fork 120
SG-39031 removed for outdated reference #1079
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
base: master
Are you sure you want to change the base?
SG-39031 removed for outdated reference #1079
Conversation
julien-lang
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please do not break retro-compatibility with current TK component versions that would use this "future" tk-core version and would break because the setCodecForCStrings method would no longer exist.
We can always add a deprecation warning when this is used and create a follow up ticket to handle long term compatibility break.
This pull request removes legacy Qt4-specific code and updates PySide2 compatibility, simplifying the codebase and improving maintainability. The main changes involve eliminating conditional logic for Qt4 and updating method signatures to match current PySide2/Qt5 APIs.
Qt4-specific code removal:
show()andmoveToThread()that were only needed for Qt4 compatibility inlogin_dialog.pyandasync_bootstrap.py. This reduces complexity and prevents issues in Qt5/PySide2 environments. [1] [2]PySide2/Qt5 API updates:
translatemethod inpyside2_patcher.pyto remove the deprecatedencodingargument, ensuring compatibility with PySide2/Qt5 and aligning with the latest API expectations.