Details
-
Bug
-
Resolution: Cannot Reproduce
-
P0: Blocker
-
None
-
5.14.0
-
None
Description
https://code.qt.io/cgit/qt/qtbase.git/commit/src/corelib/global/qsystemdetection.h?h=5.14&id=9b8493314dd77f3e96b353187816bb7ef4dedbb5 added the line
# if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
to /src/corelib/global/qsystemdetection.h. QT_VERSION and QT_VERSION_CHECK are defined in qglobal.h, which is included via
#ifndef QGLOBAL_H # include <QtCore/qglobal.h> #endif
at the top of that file.
The problem is that config.tests/arch/arch.cpp starts with:
#define QGLOBAL_H
#include "../../src/corelib/global/qsystemdetection.h"
Thus qglobal.h is not included, the two macros are not defined, and the arch config test fails.
It looks like CI didn't catch this, as QNX is only built from a Linux host.