summaryrefslogtreecommitdiffstats
path: root/examples/quick
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2020-10-31 09:45:49 +0100
committerShawn Rutledge <shawn.rutledge@qt.io>2020-10-31 09:45:31 +0100
commit1469bac17cc1839c8822c3004852748e4f9cb3ea (patch)
tree0788b5b520cb36f70a880581195426f903948731 /examples/quick
parent7b911a65d238d68177a69feb773b3c9d803f6ef4 (diff)
Add #include <QPainter> in textballoon example
It is not building in namespaced builds without this. Others also needed this include, such as qml/tutorials/extending-qml/chapter2-methods/piechart.cpp Change-Id: Ifbb0557655d247b146ca2eddb07ea6813d9ffacb Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'examples/quick')
-rw-r--r--examples/quick/customitems/painteditem/textballoon.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/quick/customitems/painteditem/textballoon.cpp b/examples/quick/customitems/painteditem/textballoon.cpp
index bd8248e65e..de34d67103 100644
--- a/examples/quick/customitems/painteditem/textballoon.cpp
+++ b/examples/quick/customitems/painteditem/textballoon.cpp
@@ -49,6 +49,7 @@
****************************************************************************/
#include "textballoon.h"
+#include <QPainter>
//! [0]
TextBalloon::TextBalloon(QQuickItem *parent)