qt5base-lts/examples/widgets/graphicsview/chip
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
..
chip.cpp Widgets/GraphicsView examples: cleanup 2019-09-05 17:40:36 +02:00
chip.h Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
chip.pro add and use qtHaveModule() function 2012-12-21 19:05:02 +01:00
fileprint.png Moving .qdoc files under examples/widgets/doc 2012-08-20 12:20:55 +02:00
images.qrc Moving .qdoc files under examples/widgets/doc 2012-08-20 12:20:55 +02:00
main.cpp Updated license headers 2016-01-21 18:55:32 +00:00
mainwindow.cpp Widgets/GraphicsView examples: cleanup 2019-09-05 17:40:36 +02:00
mainwindow.h Widgets/GraphicsView examples: cleanup 2019-09-05 17:40:36 +02:00
qt4logo.png Moving .qdoc files under examples/widgets/doc 2012-08-20 12:20:55 +02:00
rotateleft.png Moving .qdoc files under examples/widgets/doc 2012-08-20 12:20:55 +02:00
rotateright.png Moving .qdoc files under examples/widgets/doc 2012-08-20 12:20:55 +02:00
view.cpp Examples: fix compile without printsupport 2020-01-31 06:23:58 +01:00
view.h Widgets/GraphicsView examples: cleanup 2019-09-05 17:40:36 +02:00
zoomin.png Moving .qdoc files under examples/widgets/doc 2012-08-20 12:20:55 +02:00
zoomout.png Moving .qdoc files under examples/widgets/doc 2012-08-20 12:20:55 +02:00