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> |
||
|---|---|---|
| .. | ||
| analogclock | ||
| calculator | ||
| calendarwidget | ||
| charactermap | ||
| codeeditor | ||
| digitalclock | ||
| elidedlabel | ||
| groupbox | ||
| icons | ||
| imageviewer | ||
| lineedits | ||
| mousebuttons | ||
| movie | ||
| scribble | ||
| shapedclock | ||
| sliders | ||
| spinboxes | ||
| styles | ||
| stylesheet | ||
| tablet | ||
| tetrix | ||
| tooltips | ||
| validators | ||
| wiggly | ||
| windowflags | ||
| README | ||
| widgets.pro | ||
README
Qt comes with a large range of standard widgets that users of modern applications have come to expect. You can also develop your own custom widgets and controls, and use them alongside standard widgets. It is even possible to provide custom styles and themes for widgets that can be used to change the appearance of standard widgets and appropriately written custom widgets. Documentation for these examples can be found via the Examples link in the main Qt documentation.