qt-design-studio

Use Qt Design Studio QML with PySide2

人盡茶涼 提交于 2020-03-16 09:16:49
问题 I am new to Qt Designer Studio. I just created a simple button in Qt Design Studio and I am trying to use the QML file with PySide2 but I am getting multiple import errors. Is there a specific way to implement Qt Design Studio qml files with PySide2. The project name is Demo that I created in Qt Design Studio The Demo Project structure: Demo.qml Demo.qmlproject Demo.qmlproject.qtds imports qtquickcontrols2.conf Screen01.ui.qml The PySide2 project structure (main.py files includes the code):