summaryrefslogtreecommitdiffstats
path: root/src/imports/widgets/widgets.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/widgets/widgets.pro')
-rw-r--r--src/imports/widgets/widgets.pro7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/imports/widgets/widgets.pro b/src/imports/widgets/widgets.pro
index de22403..aa09b3c 100644
--- a/src/imports/widgets/widgets.pro
+++ b/src/imports/widgets/widgets.pro
@@ -13,10 +13,9 @@ HEADERS += \
graphicslayouts_p.h
QTDIR_build:DESTDIR = $$QT_BUILD_TREE/imports/$$TARGETPATH
-target.path = $$TARGETPATH
+target.path = $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
-# install qmldir file
-qmldir.files += qmldir
-qmldir.path = $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
+qmldir.files += $$QT_BUILD_TREE/imports/$$TARGETPATH/qmldir
+qmldir.path += $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
INSTALLS += target qmldir