summaryrefslogtreecommitdiff
path: root/src/compositor/doc/src/qt6-changes.qdoc
blob: 7a9a12016f91ab8602352bf22c7f48716dfa29df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Copyright (C) 2020 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only

/*!
    \page qtwayland-changes-qt6.html
    \title Porting to Qt 6 - Qt Wayland Compositor

    Qt 6 is a result of the conscious effort to make the framework more
    efficient and easy to use.

    We try to maintain binary and source compatibility for all the public
    APIs in each release. But some changes were inevitable in an effort to
    make Qt a better framework.

    In this topic we summarize those changes in Qt Wayland Compositor, and
    provide guidance to handle them.

    \section1 Import of Shell Classes

    In Qt 5, a few auxiliary classes were available through the Qt Wayland
    Compositor namespace. In order to improve the logical separation of
    these from the primary functionality of the compositor, they have been
    moved into separate imports in Qt 6.

    \list
      \li \l WlShell types are now available in \c QtWayland.Compositor.WlShell
      \li \l XdgShell types are now available in \c QtWayland.Compositor.XdgShell
      \li \l IviApplication types are now available in \c QtWayland.Compositor.IviApplication
    \endlist
*/