Unity-build: exclude qrandom.cpp (#undef's Q_ASSERT/_X())

qrandom.cpp #undef's Q_ASSERT/_X(), breaking TUs that happen to use it
after qrandom.cpp has processed.

Exclude it.

Pick-to: 6.6 6.5
Fixes: QTBUG-115031
Change-Id: Ie419f4ed2323f9c9e91f4dceaf8fecc097673d0e
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
bb10
Marc Mutz 2023-07-03 18:53:25 +02:00
parent b8dd99a1b2
commit 093a0b4f6e
1 changed files with 1 additions and 0 deletions

View File

@ -314,6 +314,7 @@ qt_internal_add_module(Core
text/qlocale.cpp text/qlocale.h
global/qglobal.cpp # undef qFatal
global/qlogging.cpp # undef qFatal/qInfo/qDebug
global/qrandom.cpp # undef Q_ASSERT/_X
text/qstringconverter.cpp # enum Data
tools/qcryptographichash.cpp # KeccakNISTInterface/Final
io/qdebug.cpp # undef qDebug