From 185cba6e95a006d2548f20599f84390e5a3ad653 Mon Sep 17 00:00:00 2001 From: Ahmad Samir Date: Wed, 1 Jan 2025 17:03:54 +0200 Subject: 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 --- examples/sql/sqlbrowser/main.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'examples/sql/sqlbrowser/main.cpp') 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 +#include #include #include #include -- cgit v1.2.3