qt5base-lts/examples/widgets/graphicsview
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
..
anchorlayout Widgets/GraphicsView examples: cleanup 2019-09-05 17:40:36 +02:00
basicgraphicslayouts Widgets/GraphicsView examples: cleanup 2019-09-05 17:40:36 +02:00
boxes Widgets/GraphicsView examples: cleanup 2019-09-05 17:40:36 +02:00
chip Examples: fix compile without printsupport 2020-01-31 06:23:58 +01:00
collidingmice Cleanup QtWidgets examples 2019-10-11 06:32:30 +02:00
diagramscene Widgets/GraphicsView examples: cleanup 2019-09-05 17:40:36 +02:00
dragdroprobot Widgets/GraphicsView examples: cleanup 2019-09-05 17:40:36 +02:00
elasticnodes Widgets/GraphicsView examples: cleanup 2019-09-05 17:40:36 +02:00
embeddeddialogs Widgets/GraphicsView examples: cleanup 2019-09-05 17:40:36 +02:00
flowlayout Widgets flowlayout example: Fix crash on startup 2019-10-03 13:15:47 +02:00
padnavigator Pad Navigator example: Remove duplicated property animations 2020-01-16 10:24:06 +01:00
simpleanchorlayout Widgets/GraphicsView examples: cleanup 2019-09-05 17:40:36 +02:00
weatheranchorlayout Widgets/GraphicsView examples: cleanup 2019-09-05 17:40:36 +02:00
graphicsview.pro Make sure we can build with -no-feature-draganddrop 2018-05-29 18:31:35 +00:00
README Moving .qdoc files under examples/widgets/doc 2012-08-20 12:20:55 +02:00

Qt is provided with a comprehensive canvas through the GraphicsView
classes.

These examples demonstrate the fundamental aspects of canvas programming
with Qt.


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