summaryrefslogtreecommitdiffstats
path: root/examples/sql/sqlbrowser/main.cpp
diff options
context:
space:
mode:
authorAhmad Samir <a.samirh78@gmail.com>2025-01-01 17:03:54 +0200
committerAhmad Samir <a.samirh78@gmail.com>2025-01-15 13:28:16 +0200
commit185cba6e95a006d2548f20599f84390e5a3ad653 (patch)
tree6dc7754b561b0744cb7b72acde50e979da978b99 /examples/sql/sqlbrowser/main.cpp
parenta10acaca0887541207ad5607680d7864d317cf4b (diff)
Replace qdebug.h includes in public headers with forward-declarations
qdebug.h includes many Qt and STL headers, so if you include a Qt header you get all those transitive includes, which may affect build time. - Where appropriate use the printf-like syntax of qDebug() and co., these don't need the QDebug streaming operators - qfloat16 is used in an inline member function, so include it explicitly [ChangeLog][Potentially Source Incompatible Changes] Various Qt public headers don't include QDebug any more; if you need QDebug's streaming you'll have to include it in your code. Task-number: QTBUG-132439 Pick-to: 6.9 Change-Id: I750587e17a3b38fa226cd3af8eaccc8da580f436 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'examples/sql/sqlbrowser/main.cpp')
-rw-r--r--examples/sql/sqlbrowser/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/sql/sqlbrowser/main.cpp b/examples/sql/sqlbrowser/main.cpp
index b3fa8af1429..4cfd5db44db 100644
--- a/examples/sql/sqlbrowser/main.cpp
+++ b/examples/sql/sqlbrowser/main.cpp
@@ -4,6 +4,7 @@
#include "browser.h"
#include <QApplication>
+#include <QDebug>
#include <QMainWindow>
#include <QMenu>
#include <QMenuBar>