qt5base-lts/examples/widgets/mainwindows
Christian Ehrlicher c7f59cad19 Examples: fix compile without printsupport
Checking for QT_CONFIG(printdialog) is not enough when printsupport is
completely disabled since then the macro will throw an error. Therefore
add an additional check 'defined(QT_PRINTSUPPORT_LIB)' before using the
QT_CONFIG macro.

Fixes: QTBUG-81626
Change-Id: Ie9898f057cdd6bf9daf4ba9135987cb6e901e7bf
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
2020-01-31 06:23:58 +01:00
..
application Prepare for deprecating the QDesktopWidget 2019-10-15 20:09:29 +02:00
dockwidgets Examples: fix compile without printsupport 2020-01-31 06:23:58 +01:00
mainwindow Fix some deprecation warnings in examples 2019-02-06 22:12:23 +00:00
mdi Prepare for deprecating the QDesktopWidget 2019-10-15 20:09:29 +02:00
menus QtBase: compile examples with QT_DISABLE_DEPRECATED_BEFORE=0x050d00 2019-02-13 05:55:46 +00:00
sdi Prepare for deprecating the QDesktopWidget 2019-10-15 20:09:29 +02:00
mainwindows.pro Add recent file handling to SDI/MDI and remove the recentfiles example. 2015-07-31 04:30:35 +00:00
README

All the standard features of application main windows are provided by Qt.

Main windows can have pull down menus, tool bars, and dock windows. These
separate forms of user input are unified in an integrated action system that
also supports keyboard shortcuts and accelerator keys in menu items.


Documentation for these examples can be found via the Examples
link in the main Qt documentation.