Porting applications from PySide2 to PySide6¶
Qt for Python 6.0.0 initially ships with the essential Modules and some add-ons (Qt Concurrent, Qt Help, Qt OpenGL, Qt Print Support Qt Quick Widgets, Qt SQL, Qt SVG, Qt UI Tools and Qt XML). More modules will follow in subsequent releases as they are added to Qt.
The first thing to do when porting applications is to replace the import statements:
from PySide2.QtWidgets import QApplication... from PySide2 import QtCore
needs to be changed to:
from PySide6.QtWidgets import QApplication... from PySide6 import QtCore
© 2020 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.