summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@qt.io>2016-09-08 12:47:24 +0200
committerRichard Moe Gustavsen <richard.gustavsen@qt.io>2016-09-12 07:51:44 +0000
commit49bd4b76d08ec11d08105ca71e8dda4f8d459b5c (patch)
tree0d6fc2be4d8f78174924849c745819c778054b13
parentabe319c9cb811832bb4c9c95290564dfa7b3603a (diff)
downloadqtquickcontrols-49bd4b76d08ec11d08105ca71e8dda4f8d459b5c.tar.gz
Static builds: show QML files in QtCreator
After b4c1391, QML files does no longer show up in QtCreator for static builds. Before they would show as resources, but since we now only create resources explicit for dynamic builds (and implicit otherwise), QtCreator cannot see them. This patch will add all the qml files as OTHER_FILES when doing static builds, so they show up in QtCreator. Change-Id: I8ee7d53e938cd96da23b0dc0ca78406449e3504d Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
-rw-r--r--src/controls/controls.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/controls/controls.pro b/src/controls/controls.pro
index 794a6e36..e2ecacd8 100644
--- a/src/controls/controls.pro
+++ b/src/controls/controls.pro
@@ -85,6 +85,8 @@ osx: LIBS_PRIVATE += -framework Carbon
QML_FILES *= $$CONTROLS_QML_FILES \
$$PRIVATE_QML_FILES \
$$STYLES_QML_FILES
+ OTHER_FILES += $$QML_FILES
}
+
CONFIG += no_cxx_module
load(qml_plugin)