From 4df45fc227fdf07c965f26af086aa99a098e46b3 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Mon, 14 Dec 2020 08:24:45 +0100 Subject: Porting Guide: Mention classes that were moved Amends 592a716369d2cdacb423b8abc29045b1d1535991. Change-Id: I73c6ab49e157d16bc9e3532e33d2ec05ba541682 Reviewed-by: Christian Tismer (cherry picked from commit 3a02acaceb36e2de4b5c61e1b607850630c82c9c) Reviewed-by: Qt Cherry-pick Bot --- sources/pyside6/doc/porting_from2.rst | 4 ++++ 1 file changed, 4 insertions(+) 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 `_ Guide -- cgit v1.2.3