From ba2d9f3e3c55d9ede0484978b1ba304a5e4a416a Mon Sep 17 00:00:00 2001 From: Erik Verbruggen <erik.verbruggen@nokia.com> Date: Tue, 28 Sep 2010 12:49:48 +0200 Subject: [PATCH] QML: added qmldir copying for shadow builds to the extension plug-in wizard. Reviewed-by: Alessandro Portale --- share/qtcreator/templates/wizards/qml-extension/project.pro | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/share/qtcreator/templates/wizards/qml-extension/project.pro b/share/qtcreator/templates/wizards/qml-extension/project.pro index e7f123beee6..d4f5293be80 100644 --- a/share/qtcreator/templates/wizards/qml-extension/project.pro +++ b/share/qtcreator/templates/wizards/qml-extension/project.pro @@ -15,3 +15,9 @@ HEADERS += \ %ObjectName:l%.%CppHeaderSuffix% OTHER_FILES = qmldir + +copy_qmldir.target = $$OUT_PWD/qmldir +copy_qmldir.depends = $$PWD/qmldir +copy_qmldir.commands = $(COPY_FILE) $$copy_qmldir.depends $$copy_qmldir.target +QMAKE_EXTRA_TARGETS += copy_qmldir +PRE_TARGETDEPS += $$copy_qmldir.target -- GitLab