diff options
-rw-r--r-- | pkg.pri | 19 | ||||
-rw-r--r-- | qml_pkg.pri | 12 |
2 files changed, 26 insertions, 5 deletions
@@ -35,9 +35,24 @@ contains(TEMPLATE, app) { # icons.files is set by qt3dquick_pkg_dep.pri or qt3d_pkg_dep.pri icons.path = /usr/share/themes/base/meegotouch/icons INSTALLS += icons applnk + + target.path += $$QT3D_INSTALL_BINS + INSTALLS += target + } else { + mt { + applnk.files = info.json + applnk.path = /opt/mt/applications/$${TARGET} + + # icons.files is set by qt3dquick_pkg_dep.pri or qt3d_pkg_dep.pri + icons.path = /opt/mt/applications/$${TARGET} + INSTALLS += icons applnk + target.path += /opt/mt/applications/$${TARGET} + INSTALLS += target + } else { + target.path += $$QT3D_INSTALL_BINS + INSTALLS += target + } } - target.path += $$QT3D_INSTALL_BINS - INSTALLS += target } else { DESTDIR = ../../../bin } diff --git a/qml_pkg.pri b/qml_pkg.pri index 0cf7e6e0..cd15d6a8 100644 --- a/qml_pkg.pri +++ b/qml_pkg.pri @@ -1,8 +1,14 @@ # Manages deploying the QML files and resources along with the binary -distInstalls.files = qml -distInstalls.path = $$QT3D_INSTALL_DATA/quick3d/examples/$$TARGET -INSTALLS += distInstalls +mt { + distInstalls.files = qml + distInstalls.path = /opt/mt/applications/$$TARGET + INSTALLS += distInstalls +} else { + distInstalls.files = qml + distInstalls.path = $$QT3D_INSTALL_DATA/quick3d/examples/$$TARGET + INSTALLS += distInstalls +} win32 { QMAKE_DEL_FILE = del /q |