diff options
author | Egor Nemtsev <enemtsev@luxoft.com> | 2019-06-14 14:05:25 +0300 |
---|---|---|
committer | Egor Nemtsev <enemtsev@luxoft.com> | 2019-06-14 11:57:38 +0000 |
commit | 1dfa5ea06295a6b0fee9301455c03768e6af7d1c (patch) | |
tree | a6d90d9337d4eb11b63327a16abe0ced62742f0d /src/remotesettings | |
parent | 4e0b20793ad4f541db7b4fadf6ef6fef7911f779 (diff) |
[companionapp] add wrapper to run pre-built from installer on Windows
Task-number: AUTOSUITE-1028
Change-Id: I5f74ba8fb7b0854834db7deea4dfdc5b33c50ece
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
Reviewed-by: Vladimir Minenko <vladimir.minenko@pelagicore.com>
Diffstat (limited to 'src/remotesettings')
-rw-r--r-- | src/remotesettings/app/app.pro | 6 | ||||
-rw-r--r-- | src/remotesettings/app/neptune-companion-app_wrapper.bat | 37 |
2 files changed, 43 insertions, 0 deletions
diff --git a/src/remotesettings/app/app.pro b/src/remotesettings/app/app.pro index 0c9083f4..779320b0 100644 --- a/src/remotesettings/app/app.pro +++ b/src/remotesettings/app/app.pro @@ -32,6 +32,12 @@ RESOURCES += qml.qrc \ target.path = $$INSTALL_PREFIX/neptune3 INSTALLS += target +win32 { + wrapper.files = neptune-companion-app_wrapper.bat + wrapper.path = $$INSTALL_PREFIX/neptune3 + INSTALLS += wrapper +} + QMAKE_RPATHDIR += $$QMAKE_REL_RPATH_BASE/$$relative_path($$INSTALL_PREFIX/neptune3/lib, $$INSTALL_PREFIX/neptune3/) #needed for the android deployment to include additional qml plugins diff --git a/src/remotesettings/app/neptune-companion-app_wrapper.bat b/src/remotesettings/app/neptune-companion-app_wrapper.bat new file mode 100644 index 00000000..92012e24 --- /dev/null +++ b/src/remotesettings/app/neptune-companion-app_wrapper.bat @@ -0,0 +1,37 @@ +@echo off +::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: +:: +:: Copyright (C) 2019 Luxoft Sweden AB +:: Contact: https://www.qt.io/licensing/ +:: +:: This file is part of the Neptune IVI UI. +:: +:: $QT_BEGIN_LICENSE:GPL-QTAS$ +:: Commercial License Usage +:: Licensees holding valid commercial Qt Automotive Suite licenses may use +:: this file in accordance with the commercial license agreement provided +:: with the Software or, alternatively, in accordance with the terms +:: contained in a written agreement between you and The Qt Company. For +:: licensing terms and conditions see https://www.qt.io/terms-conditions. +:: For further information use the contact form at https://www.qt.io/contact-us. +:: +:: GNU General Public License Usage +:: Alternatively, this file may be used under the terms of the GNU +:: General Public License version 3 or (at your option) any later version +:: approved by the KDE Free Qt Foundation. The licenses are as published by +:: the Free Software Foundation and appearing in the file LICENSE.GPL3 +:: included in the packaging of this file. Please review the following +:: information to ensure the GNU General Public License requirements will +:: be met: https://www.gnu.org/licenses/gpl-3.0.html. +:: +:: $QT_END_LICENSE$ +:: +:: SPDX-License-Identifier: GPL-3.0 +:: +::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: + +SetLocal EnableDelayedExpansion +set WRAPPER_PWD=%~dp0 +set PATH=%WRAPPER_PWD%\..\bin;%PATH% +%WRAPPER_PWD%\neptune-companion-app %* +EndLocal |