diff options
author | Dominik Holland <dominik.holland@pelagicore.com> | 2018-06-08 10:45:34 +0200 |
---|---|---|
committer | Dominik Holland <dominik.holland@pelagicore.com> | 2018-06-08 13:56:26 +0000 |
commit | 705798b647bbf1f0c15c80a79a06dc8c9b51d39f (patch) | |
tree | bbd901e9a75bf6ee8c1a6f8c12053745595781fb | |
parent | dda8322657692669afbcb042728cc216dbbd5bf8 (diff) |
Install a neptune3-ui wrapper batch script on windows
This is needed as otherwise starting neptune3 from the explorer is not
possible, as the Qt libs are not in the PATH or in the same folder.
Change-Id: I5126959d5c4ace954bad0fdc67596e1f61f3fc48
Reviewed-by: Bramastyo Harimukti Santoso <bramastyo.harimukti.santoso@pelagicore.com>
-rw-r--r-- | src/neptune3-ui/neptune3-ui.pro | 6 | ||||
-rw-r--r-- | src/neptune3-ui/neptune3-ui_wrapper.bat | 37 |
2 files changed, 43 insertions, 0 deletions
diff --git a/src/neptune3-ui/neptune3-ui.pro b/src/neptune3-ui/neptune3-ui.pro index e357f27c..f794c151 100644 --- a/src/neptune3-ui/neptune3-ui.pro +++ b/src/neptune3-ui/neptune3-ui.pro @@ -26,3 +26,9 @@ DESTDIR = $$OUT_PWD/../../ target.path = $$INSTALL_PREFIX/neptune3 INSTALLS += target + +win32 { + wrapper.files = neptune3-ui_wrapper.bat + wrapper.path = $$INSTALL_PREFIX/neptune3 + INSTALLS += wrapper +} diff --git a/src/neptune3-ui/neptune3-ui_wrapper.bat b/src/neptune3-ui/neptune3-ui_wrapper.bat new file mode 100644 index 00000000..4f91168b --- /dev/null +++ b/src/neptune3-ui/neptune3-ui_wrapper.bat @@ -0,0 +1,37 @@ +@echo off +::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: +:: +:: Copyright (C) 2017 Pelagicore AG +:: 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%\neptune3-ui %* +EndLocal |