From 8abf15b4ba974576e13f37b09117454fc1e6b1d9 Mon Sep 17 00:00:00 2001 From: Andy Shaw Date: Thu, 6 Dec 2018 22:38:31 +0100 Subject: Static: Install the qmldir for the Styles module Mention qmldir in AUX_QML_FILES to ensure that it is always copied to the build directory. qml_module.prf usually takes care of this by having QML_FILES in qmldir.files with INSTALLS += qmldir, but with CONFIG += builtin_resources (set for static) that's not the case. AUX_QML_FILES is the correct variable though. Task-number: QTBUG-67644 Change-Id: I6cf580586dec0bf7b44c89b95134d7d7f683102e Reviewed-by: Mitch Curtis --- src/controls/Styles/styles.pri | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controls/Styles/styles.pri b/src/controls/Styles/styles.pri index 67c1ab76..ff3db817 100644 --- a/src/controls/Styles/styles.pri +++ b/src/controls/Styles/styles.pri @@ -108,6 +108,6 @@ STYLES_QML_FILES += \ $$PWD/Base/images/knob.png \ $$PWD/Base/images/needle.png -STYLES_QML_FILES += $$PWD/qmldir +AUX_QML_FILES += $$PWD/qmldir ios:static: include(iOS/iOS.pri) !qtquickcompiler|static: QML_FILES += $$STYLES_QML_FILES -- cgit v1.2.1