From 2c8c6dd9a478f0f2e2b811a9d3e68891ee1bef0b Mon Sep 17 00:00:00 2001 From: Maurice Kalinowski Date: Thu, 17 Nov 2016 16:32:04 +0100 Subject: Fix compilation without QPrinter support Task-number: QTBUG-56321 Change-Id: Ic77d01431ee58d609eca895d1f2d216042406bc9 Reviewed-by: Oliver Wolff --- examples/widgets/painting/fontsampler/mainwindow.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'examples/widgets/painting/fontsampler/mainwindow.h') 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 +#include QT_BEGIN_NAMESPACE class QPrinter; -- cgit v1.2.3