diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2020-10-31 09:45:49 +0100 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2020-10-31 09:45:31 +0100 |
commit | 1469bac17cc1839c8822c3004852748e4f9cb3ea (patch) | |
tree | 0788b5b520cb36f70a880581195426f903948731 /examples | |
parent | 7b911a65d238d68177a69feb773b3c9d803f6ef4 (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')
-rw-r--r-- | examples/quick/customitems/painteditem/textballoon.cpp | 1 |
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) |