aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Hermann <[email protected]>2025-06-27 14:23:42 +0200
committerUlf Hermann <[email protected]>2025-06-27 21:56:46 +0200
commitb0d9b0ff37ad9d08ec75257ca76ee964803f5659 (patch)
tree05129cd162f92ab364f87b34251e900f72d14e18
parentb229f4394ec2e96554f5382d9f70286cb2a7e8f7 (diff)
QML: Work around nvcc compiler bugHEADdev
We can name the QBasicAtomicInt() in the initialization of QMetaTypeInterface. Pick-to: 6.10 6.9 6.8 Fixes: QTBUG-138053 Change-Id: I32bf67a1ff984ed3992afcd3c945d7e97f643068 Reviewed-by: Fabian Kosmale <[email protected]>
-rw-r--r--src/qml/qml/qqmlprivate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlprivate.h b/src/qml/qml/qqmlprivate.h
index 25f5175dcd..480d1a4288 100644
--- a/src/qml/qml/qqmlprivate.h
+++ b/src/qml/qml/qqmlprivate.h
@@ -1168,7 +1168,7 @@ namespace QQmlPrivate
/*.alignment=*/ 0,
/*.size=*/ 0,
/*.flags=*/ 0,
- /*.typeId=*/ {},
+ /*.typeId=*/ QBasicAtomicInt(),
/*.metaObject=*/ metaObjectFunction,
/*.name=*/ name,
/*.defaultCtr=*/ nullptr,