-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better support the Qt Installer usecases
Add wrapper scripts which make sure the needed libraries are loaded and starting neptune-ui works on all supported Installer targets. Change the default INSTALL_PREFIX to QT_INSTALL_PREFIX to align the install location with the final location inside the installer. This also makes sure the wrapper scripts work and can find their libraries. Change the folder name from neptune to neptune-ui. Task-number: QTAUTO-289 Change-Id: I69749ac29da864a63f8c1695f022c6e7a020c74b Reviewed-by: Robert Griebl <[email protected]>
- Loading branch information
Showing
8 changed files
with
85 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
isEmpty(INSTALL_PREFIX) { | ||
INSTALL_PREFIX=/opt | ||
INSTALL_PREFIX=$$[QT_INSTALL_PREFIX] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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%\neptune-ui %* | ||
EndLocal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#!/bin/sh | ||
############################################################################# | ||
## | ||
## 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 | ||
## | ||
############################################################################# | ||
|
||
WRAPPER_PWD=`dirname $0` | ||
export DYLD_FRAMEWORK_PATH=$WRAPER_PWD/../lib | ||
export DYLD_LIBRARY_PATH=$WRAPER_PWD/../lib | ||
export LD_LIBRARY_PATH=$WRAPER_PWD/../lib | ||
$WRAPPER_PWD/neptune-ui "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters