qt5base-lts/examples/widgets/tutorials/notepad
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
..
images Doc: Add formatting features to Notepad example 2018-06-01 09:54:56 +00:00
main.cpp Doc: move notepad example to qtbase and improve it 2017-12-18 13:39:28 +00:00
notepad.cpp Examples: fix compile without printsupport 2020-01-31 06:23:58 +01:00
notepad.h Cleanup QtWidgets examples 2019-10-11 06:32:30 +02:00
notepad.pro examples: Fix notepad example for configurations without printsupport 2018-01-22 08:27:26 +00:00
notepad.qrc Doc: Add formatting features to Notepad example 2018-06-01 09:54:56 +00:00
notepad.ui Doc: Add formatting features to Notepad example 2018-06-01 09:54:56 +00:00