summaryrefslogtreecommitdiffstats
path: root/src/corelib/global
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2021-07-29 18:50:15 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2021-07-30 12:35:09 +0200
commitb72fa182b4f08d0787ccdb62864cf4ae8a641205 (patch)
tree3f81f7bfc2af59a57093169216943a0f0323f9bb /src/corelib/global
parent64368bb527f41a63dff17fbacdefb6ee95e81f59 (diff)
Correct a #include in a comment in qglobal.h
The comment indicates how to use QT_BUILD_REMOVED_API, which includes a #include of qglobal.h; but we have a tool, run somewhere in configure, that grumbles about this #include (unaware, I suspect, that it's in a comment), saying we should #include <QtCore/qglobal.h>; so change the comment to say that. Presumably this is our recommended way to do includes, so we should follow it when suggesting how to write code. This amends commit 0c8b98774cd0f3dad939d31e820e7e47c1da088a. Change-Id: I4683ad6f1c0eedec3eaa02ac40c5d017059a49b0 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/global')
-rw-r--r--src/corelib/global/qglobal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h
index 8bc7181633..e2dc919e26 100644
--- a/src/corelib/global/qglobal.h
+++ b/src/corelib/global/qglobal.h
@@ -459,7 +459,7 @@ typedef double qreal;
// removed_api/some.cpp
#define QT_BUILD_REMOVED_API
- #include <qglobal.h>
+ #include <QtCore/qglobal.h>
#include <someheader.h>