-
Notifications
You must be signed in to change notification settings - Fork 253
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
QCoreApplication::UnicodeUTF8 is deprecated #98
Comments
guess we can implement a mocked QApplication.UnicodeUTF8 property Thoughts ? |
I've been opening a pull request : #99 |
Sorry to ask, but is this a problem you need solved? Or are you trying to cover all incompatibilities? |
I'm porting a quite complex stack of code over Qt.py and it does use compiled ui ( designer-qt4 ) through pyside-uic , which by default sneak in the translate function. Without this fix, any interface build with PySide/PyQt won't simply be loading, and error, and possibly make the app segfault. |
Ah, excellent. An example in the form of a test would be lovely to really drive this feature home. |
thought the same, but I need #93 first . |
#93 implemented. |
tests are now available |
For completeness, the missing piece of information is an example that illustrates the problem. |
Hi Marcus, |
Hey @hdd, It solves it by compiling your .ui files with PySide2. That compiler won't produce references to this member. |
For completeness, the solution is to compile with PySide2-compatible compiler, and then either replace references to |
Found this :https://wiki.qt.io/Transition_from_Qt_4.x_to_Qt5
about this issue.
This gets raised, when trying to use compiled widget (pyside-uic....), which has the retranslateUi() .
Not really sure how to tackle this down.
The text was updated successfully, but these errors were encountered: