aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEgor Nemtsev <enemtsev@luxoft.com>2020-03-31 14:07:00 +0300
committerEgor Nemtsev <enemtsev@luxoft.com>2020-03-31 12:40:28 +0000
commit0e1f79d8f17da5764e99fd3add38807b419d50b4 (patch)
tree30874a042c1d0fd8b94aa1758d8f8f918d058461
parent671d29decc59789cf9c27d5eda26d9739fa58b58 (diff)
[qsr] add windows wrapper for qsr app
Fixes: AUTOSUITE-1282 Change-Id: I60feaa5367e03163a587c0cf4dce19f4643b8525 Reviewed-by: Grigorii Zimin <gzimin@luxoft.com>
-rw-r--r--src/neptune3-ui-qsr-cluster/neptune3-ui-qsr-cluster.pro6
-rw-r--r--src/neptune3-ui-qsr-cluster/neptune3-ui-qsr-cluster_wrapper.bat37
2 files changed, 43 insertions, 0 deletions
diff --git a/src/neptune3-ui-qsr-cluster/neptune3-ui-qsr-cluster.pro b/src/neptune3-ui-qsr-cluster/neptune3-ui-qsr-cluster.pro
index 847f271c..f8dc7355 100644
--- a/src/neptune3-ui-qsr-cluster/neptune3-ui-qsr-cluster.pro
+++ b/src/neptune3-ui-qsr-cluster/neptune3-ui-qsr-cluster.pro
@@ -15,6 +15,12 @@ macos: {
HEADERS += safewindow_mac.h
}
+win32 {
+ wrapper.files = neptune3-ui-qsr-cluster_wrapper.bat
+ wrapper.path = $$INSTALL_PREFIX/neptune3
+ INSTALLS += wrapper
+}
+
QT = core gui qtsaferenderer network ivicore
LIBS += -L$$LIB_DESTDIR -l$$qtLibraryTarget(remotesettings) -l$$qtLibraryTarget(drivedata)
diff --git a/src/neptune3-ui-qsr-cluster/neptune3-ui-qsr-cluster_wrapper.bat b/src/neptune3-ui-qsr-cluster/neptune3-ui-qsr-cluster_wrapper.bat
new file mode 100644
index 00000000..5e9f3211
--- /dev/null
+++ b/src/neptune3-ui-qsr-cluster/neptune3-ui-qsr-cluster_wrapper.bat
@@ -0,0 +1,37 @@
+@echo off
+:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
+::
+:: Copyright (C) 2020 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;%WRAPPER_PWD%\..\..\..\Tools\OpenSSL\Win_x64\bin;%PATH%
+%WRAPPER_PWD%\neptune3-ui-qsr-cluster %*
+EndLocal