Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Switching PySide2 to PyQt5 in Qt Creator
hendry33 last edited by
How to switch PySide2 to PyQt5 in Qt Creator?
LimeyLime last edited by
It depends on how you create your project/file.
If you create a project of the type Application "Qt for Python", you will end up with a
main.pywhere PySide2 is imported and I could not find the template file in the Qt installation files.
If you simply create a new file of the type Python | Python Class you will be offered to choose between PyQt5 and Pyside2. The template file is in your Qt installation folder:
Sorry, QtCreator is great but not perfect for Python yet from what I can tell :-/