diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-06-14 13:07:32 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-06-16 19:42:12 +0200 |
commit | 408fbd3f2d7a6b87521f5b3c27ecf6341dc06e13 (patch) | |
tree | dcff3d846ff9817f0390275e4e3d9d8045a772e2 /examples/xml/dombookmarks/mainwindow.cpp | |
parent | 684070bc342ac8e041c7156f0aa594b89b2265db (diff) |
QMessageBox: Remove include of qdebug.h
Move the implementation qRequireVersion() to prevent having
to include qdebug.h which pulls in many other headers.
Amends b5d874e36fd39fa6e57ff27db27ae0b029949749.
Fix missing include introduced by
3a553507a134bee1562d34ebbf786a053d36fc05.
Pick-to: 6.6
Task-number: QTBUG-114214
Task-number: QTBUG-97601
Change-Id: Iba68ffca95061666d9458ffa5700d07c7669da5b
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'examples/xml/dombookmarks/mainwindow.cpp')
-rw-r--r-- | examples/xml/dombookmarks/mainwindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/xml/dombookmarks/mainwindow.cpp b/examples/xml/dombookmarks/mainwindow.cpp index f5320519f2..b28773f116 100644 --- a/examples/xml/dombookmarks/mainwindow.cpp +++ b/examples/xml/dombookmarks/mainwindow.cpp @@ -4,6 +4,7 @@ #include "mainwindow.h" #include "xbeltree.h" +#include <QApplication> #include <QFileDialog> #include <QMenuBar> #include <QMessageBox> |