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 0c8b98774c.

Change-Id: I4683ad6f1c0eedec3eaa02ac40c5d017059a49b0
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Edward Welbourne 2021-07-29 18:50:15 +02:00
parent 64368bb527
commit b72fa182b4

View File

@ -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>