From 40dda06cbe3d5e91d413ed590633da7d03692c54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5rten=20Nordheim?= Date: Thu, 6 Jun 2024 12:52:01 +0200 Subject: [PATCH] QDnsTlsAssociationRecord: add QML scoped enum entry If we ever want to expose the class or the enums to QML, we need to have already done this so no one else exposes it first without the enums being scoped. From the API review. Change-Id: I0ab32743b3cb61d44cc159397435801280d74b80 Reviewed-by: Marc Mutz (cherry picked from commit f60c03f26562224574b180699a9518471e879a2b) Reviewed-by: Qt Cherry-pick Bot --- src/network/kernel/qdnslookup.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/network/kernel/qdnslookup.h b/src/network/kernel/qdnslookup.h index de9d01521b3..3ad49a6f92d 100644 --- a/src/network/kernel/qdnslookup.h +++ b/src/network/kernel/qdnslookup.h @@ -144,6 +144,7 @@ Q_DECLARE_SHARED(QDnsTextRecord) class Q_NETWORK_EXPORT QDnsTlsAssociationRecord { Q_GADGET + Q_CLASSINFO("RegisterEnumClassesUnscoped", "false") public: enum class CertificateUsage : quint8 { // https://www.iana.org/assignments/dane-parameters/dane-parameters.xhtml#certificate-usages