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

Qt --convert my.ui #131

Closed
mottosso opened this issue Sep 7, 2016 · 2 comments
Closed

Qt --convert my.ui #131

mottosso opened this issue Sep 7, 2016 · 2 comments
Labels

Comments

@mottosso
Copy link
Owner

mottosso commented Sep 7, 2016

Goal

In response to #99 and #129, provide a safe conversion from .ui files compiled with PySide2 to an equivalent Qt.py-compatible module.

Implementation

From a plain-text Python module, produce a module with full cross-binding compatibility with Qt.py using plain old search-and-replace.

$ pyside2-uic.exe my_ui.ui -o my_ui.py
$ python -m Qt --convert my_ui.py  # save original as `original_my_ui.py`
$ cat my_ui.py
mottosso added a commit to abstractfactory/Qt.py that referenced this issue Sep 7, 2016
@mottosso mottosso mentioned this issue Sep 7, 2016
mottosso added a commit that referenced this issue Sep 17, 2016
@mottosso
Copy link
Owner Author

Implemented in 0.5.0.

@fredrikaverpil
Copy link
Collaborator

I guess that with PR #142 merged it should now also be possible to implement --compile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants