diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-12-14 08:24:45 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2020-12-15 16:21:26 +0000 |
commit | 4df45fc227fdf07c965f26af086aa99a098e46b3 (patch) | |
tree | e6bc72c3b8e028d54498ec8ea092375e5ea51e10 | |
parent | 50725c9ae5de2c14e781458d1233b6259543f07d (diff) |
Porting Guide: Mention classes that were moved
Amends 592a716369d2cdacb423b8abc29045b1d1535991.
Change-Id: I73c6ab49e157d16bc9e3532e33d2ec05ba541682
Reviewed-by: Christian Tismer <tismer@stackless.com>
(cherry picked from commit 3a02acaceb36e2de4b5c61e1b607850630c82c9c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | sources/pyside6/doc/porting_from2.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sources/pyside6/doc/porting_from2.rst b/sources/pyside6/doc/porting_from2.rst index c5ead6e05..7b678f5cb 100644 --- a/sources/pyside6/doc/porting_from2.rst +++ b/sources/pyside6/doc/porting_from2.rst @@ -23,6 +23,10 @@ needs to be changed to: from PySide6.QtWidgets import QApplication... from PySide6 import QtCore + +Some classes are in a different module now, for example +``QAction`` and ``QShortcut`` have been moved from ``QtWidgets`` to ``QtGui``. + Then, the code base needs to be checked for usage of deprecated API and adapted accordingly. More information can be found in the `Porting to Qt 6 <https://doc.qt.io/qt-6/portingguide.html>`_ Guide |