aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/platform/android/qandroidquickviewembedding.cpp
diff options
context:
space:
mode:
authorLars Schmertmann <Lars.Schmertmann@governikus.de>2024-12-26 12:45:20 +0100
committerLars Schmertmann <Lars.Schmertmann@governikus.de>2024-12-28 11:00:17 +0100
commit8a9b389deab4bccab7ccaae7554e74dd6bf8c16e (patch)
treeb9d9635c7d7140becc08fe92db2a51f565968813 /src/quick/platform/android/qandroidquickviewembedding.cpp
parent422601ba5a25c69ddb3cc1460d346d1f5bcaa6ec (diff)
Avoid deprecation warning in qandroidquickviewembedding.cpp
106:33: warning: 'QString' is deprecated: Use fromUtf8, QStringLiteral, or QLatin1StringView [-Wdeprecated-declarations] 106 | qPrintable(propertyValue.className())); | ^ Pick-to: 6.9 6.8 Change-Id: If3dc5a80d49cbeb2ea02f42f7c7c836eb1211714 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Diffstat (limited to 'src/quick/platform/android/qandroidquickviewembedding.cpp')
-rw-r--r--src/quick/platform/android/qandroidquickviewembedding.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/platform/android/qandroidquickviewembedding.cpp b/src/quick/platform/android/qandroidquickviewembedding.cpp
index 595e2d690e..70f235b1e1 100644
--- a/src/quick/platform/android/qandroidquickviewembedding.cpp
+++ b/src/quick/platform/android/qandroidquickviewembedding.cpp
@@ -103,7 +103,7 @@ namespace QtAndroidQuickViewEmbedding
if (!variantToWrite.isValid()) {
qWarning("Setting the property type of %s is not supported.",
- qPrintable(propertyValue.className()));
+ propertyValue.className().data());
} else {
metaProperty.write(rootObject, variantToWrite);
}