From 022dd303d7691655bb8effe518685c7bcde71584 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Wed, 25 Oct 2023 15:19:33 +0200 Subject: Examples: Fix qmake version of qml-i18n example Now that we load the QML file from a different resource directory we have to adapt the resource paths in qmake, too. Amends commit 69fce1185f2ba3b474871e38b3b5b3161a9f72ee. Pick-to: 6.5 Change-Id: I25f3e0f1f77ad365426b859c5adc08b429976da3 Reviewed-by: Fabian Kosmale (cherry picked from commit 4dd7f9a10233c24ed35b7b1366ba5f8860096a6e) Reviewed-by: Qt Cherry-pick Bot --- examples/qml/qml-i18n/qml-i18n.pro | 1 + examples/qml/qml-i18n/qml-i18n.qrc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'examples/qml') diff --git a/examples/qml/qml-i18n/qml-i18n.pro b/examples/qml/qml-i18n/qml-i18n.pro index 847c741b00..a69f370afc 100644 --- a/examples/qml/qml-i18n/qml-i18n.pro +++ b/examples/qml/qml-i18n/qml-i18n.pro @@ -8,6 +8,7 @@ RESOURCES += qml-i18n.qrc target.path = $$[QT_INSTALL_EXAMPLES]/qml/qml-i18n INSTALLS += target +QM_FILES_RESOURCE_PREFIX = /qt/qml/translated/i18n/ CONFIG += lrelease embed_translations TRANSLATIONS += \ diff --git a/examples/qml/qml-i18n/qml-i18n.qrc b/examples/qml/qml-i18n/qml-i18n.qrc index 3a505b1665..94a8d32d64 100644 --- a/examples/qml/qml-i18n/qml-i18n.qrc +++ b/examples/qml/qml-i18n/qml-i18n.qrc @@ -1,5 +1,5 @@ - + qml-i18n.qml -- cgit v1.2.3