summaryrefslogtreecommitdiffstats
path: root/qt3dstudio.pro
diff options
context:
space:
mode:
authorMäättä Antti <antti.maatta@qt.io>2018-06-07 14:08:40 +0300
committerAntti Määttä <antti.maatta@qt.io>2018-07-31 11:45:21 +0000
commit777046d35794802e5baf174b943926c7868d00e0 (patch)
treedd5c8e6f6ab3cf025cca129116770ed0adfff8ec /qt3dstudio.pro
parent1e673c7386af26f3b906a9814785a084bd06a69c (diff)
Implement uip subpresentation preview in studio
Task-number: QT3DS-1849 Change-Id: I3ec3803ea1fbe0d59ba933d69ab0da92c42a9054 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Diffstat (limited to 'qt3dstudio.pro')
-rw-r--r--qt3dstudio.pro14
1 files changed, 14 insertions, 0 deletions
diff --git a/qt3dstudio.pro b/qt3dstudio.pro
index 47625ccb..8eb6da5f 100644
--- a/qt3dstudio.pro
+++ b/qt3dstudio.pro
@@ -53,6 +53,20 @@ load(qt_parts)
$$QMAKE_COPY $$shell_quote($$shell_path($$OUT_PWD/qml/$$QML_FILE_D)) \
$$shell_quote($$shell_path(\$(DEPLOY_DIR)/$$QML_FILE_D))
}
+
+ # copy QtStudio3D.dll
+ release {
+ QTSTUDIO3D_LIB = Qt5Studio3D.dll
+ } else {
+ QTSTUDIO3D_LIB = Qt5Studio3Dd.dll
+ }
+ QMAKE_EXTRA_TARGETS += copyStudio3D
+ deployTarget.depends += copyStudio3D
+ copyStudio3D.commands = \
+ $$QMAKE_COPY $$shell_quote($$shell_path( \
+ $$OUT_PWD/bin/$$QTSTUDIO3D_LIB)) \
+ $$shell_quote($$shell_path($$[QT_INSTALL_BINS]/$$QTSTUDIO3D_LIB))
+
QMLDIR_FILE = QtStudio3D/qmldir
QMAKE_EXTRA_TARGETS += deployQmldir
deployTarget.depends += deployQmldir