Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qt6-changes.qdoc
Go to the documentation of this file.
1
// Copyright (C) 2020 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
3
4
/*!
5
\page printsupport-changes-qt6.html
6
\title Changes to Qt Print Support
7
\ingroup changes-qt-5-to-6
8
\brief General API consolidation.
9
10
Qt 6 is a result of the conscious effort to make the framework more
11
efficient and easy to use.
12
13
We try to maintain binary and source compatibility for all the public
14
APIs in each release. But some changes were inevitable in an effort to
15
make Qt a better framework.
16
17
In this topic we summarize those changes in Qt Print Support, and provide
18
guidance to handle them.
19
20
\section1 General API consolidation
21
22
The various enums and types for \l{QPageSize}{page sizes},
23
margins, and orientation have been consolidated. QPrinter APIs to set
24
paper sizes and margins explicitly have been removed; use
25
QPagedPaintDevice::setPageLayout(), QPagedPaintDevice::setPageSize(),
26
QPagedPaintDevice::setPageOrientation(), and
27
QPagedPaintDevice::setPageMargins() instead.
28
*/
qtbase
src
printsupport
doc
src
qt6-changes.qdoc
Generated on
for Qt by
1.14.0