Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.6.3, 6.7.1
-
None
Description
According to documentation https://doc.qt.io/qt-6/qglobalstatic.html,
it should be enough to add #include <QGlobalStatic> in order to use Q_APPLICATION_STATIC macro.
But this is actually not true and you have to add #include <qapplicationstatic.h> into your code
to be able use it.
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-125097 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
559756,1 | Q_APPLICATION_STATIC: provide QApplicationStatic header | dev | qt/qtbase | Status: NEW | 0 | 0 |