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

Convert does not convert files built with pyside2-uic 5.15.2 #387

Open
stevenjking opened this issue May 25, 2023 · 1 comment
Open

Convert does not convert files built with pyside2-uic 5.15.2 #387

stevenjking opened this issue May 25, 2023 · 1 comment

Comments

@stevenjking
Copy link

Files built using pyside2-uic 5.15.2 are not handled by qt.py --convert as the PySide2 imports are in the format from Pyside2.QtCore import * rather than the supported from Pyside2 import QtCore

## Created by: Qt User Interface Compiler version 5.15.2
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################

from PySide2.QtCore import *
from PySide2.QtGui import *
from PySide2.QtWidgets import *

@mottosso
Copy link
Owner

Thanks for reporting this, a pull request is most welcome!

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

No branches or pull requests

2 participants