Details
-
Bug
-
Resolution: Unresolved
-
P4: Low
-
None
-
6.2.0 Alpha
-
None
Description
I usually don't build my snapshots tracking the dev branch for openSUSE Leap. Here's what was found on Leap 15.3 which builds with GCC 7.
The CMake log is attached. The compiler seems too old but is not rejected. 6.1-rc is not affected.
[ 420s] In file included from include/QtCore/6.2.0/QtCore/private/qproperty_p.h:1:0, [ 420s] from ../src/corelib/kernel/qobject_p.h:64, [ 420s] from ../src/corelib/kernel/qobject.cpp:43: [ 420s] include/QtCore/6.2.0/QtCore/private/../../../../../../src/corelib/kernel/qproperty_p.h: In instantiation of 'void QObjectCompatProperty<Class, T, Offset, Setter, Signal>::notify() [with Class = QObjectPrivate::ExtraData; T = QString; auto Offset = QObjectPrivate::ExtraData::_qt_property_objectName_offset; auto Setter = &QObjectPrivate::ExtraData::setObjectNameForwarder; auto Signal = &QObjectPrivate::ExtraData::nameChangedForwarder]': [ 420s] ../src/corelib/kernel/qobject.cpp:1239:41: required from here [ 420s] include/QtCore/6.2.0/QtCore/private/../../../../../../src/corelib/kernel/qproperty_p.h:540:30: error: '(QObjectPrivate::ExtraData::nameChangedForwarder != 0)' is not a constant expression [ 420s] if constexpr (Signal != nullptr) { [ 420s] ~~~~~~~^~~~~~~~~~