diff options
author | Maurice Kalinowski <maurice.kalinowski@qt.io> | 2016-11-17 16:32:04 +0100 |
---|---|---|
committer | Maurice Kalinowski <maurice.kalinowski@qt.io> | 2016-11-23 09:27:56 +0000 |
commit | 2c8c6dd9a478f0f2e2b811a9d3e68891ee1bef0b (patch) | |
tree | e0d9ca7904610b238a47c902ae6dda8b875c9498 /examples/widgets/painting/fontsampler/mainwindow.h | |
parent | d20a99c081491f020836904eaa1c9323b9b56921 (diff) |
Fix compilation without QPrinter support
Task-number: QTBUG-56321
Change-Id: Ic77d01431ee58d609eca895d1f2d216042406bc9
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'examples/widgets/painting/fontsampler/mainwindow.h')
-rw-r--r-- | examples/widgets/painting/fontsampler/mainwindow.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/widgets/painting/fontsampler/mainwindow.h b/examples/widgets/painting/fontsampler/mainwindow.h index f39e1b1916..ada0d47354 100644 --- a/examples/widgets/painting/fontsampler/mainwindow.h +++ b/examples/widgets/painting/fontsampler/mainwindow.h @@ -52,6 +52,8 @@ #define MAINWINDOW_H #include "ui_mainwindowbase.h" +#include <QPrinter> +#include <QPrintDialog> QT_BEGIN_NAMESPACE class QPrinter; |