Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
e8bb813d
Commit
e8bb813d
authored
Jul 16, 2017
by
Don Gagne
Committed by
GitHub
Jul 16, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5451 from DonLakeFlyer/CustomInstaller
Allow custom overrides of windows installer icons
parents
9b9a973e
04b8ace9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
QGCInstaller.pri
QGCInstaller.pri
+1
-1
qgroundcontrol_installer.nsi
deploy/qgroundcontrol_installer.nsi
+3
-3
qgroundcontrol.pro
qgroundcontrol.pro
+4
-0
No files found.
QGCInstaller.pri
View file @
e8bb813d
...
...
@@ -35,7 +35,7 @@ installer {
QMAKE_POST_LINK += && hdiutil create -verbose -stretch 4g -layout SPUD -srcfolder $${DESTDIR}/$${TARGET}.app -volname $${TARGET} $${DESTDIR}/package/$${TARGET}.dmg
}
WindowsBuild {
QMAKE_POST_LINK += $$escape_expand(\\n) cd $$BASEDIR_WIN && $$quote("\"C:\\Program Files \(x86\)\\NSIS\\makensis.exe\"" /DAPPNAME="\"$${QGC_APP_NAME}\"" /DEXENAME="\"$${TARGET}\"" /DORGNAME="\"$${QGC_ORG_NAME}\"" /DDESTDIR=$${DESTDIR} /NOCD "\"/XOutFile $${DESTDIR_WIN}\\$${TARGET}-installer.exe\"" "$$BASEDIR_WIN\\deploy\\qgroundcontrol_installer.nsi")
QMAKE_POST_LINK += $$escape_expand(\\n) cd $$BASEDIR_WIN && $$quote("\"C:\\Program Files \(x86\)\\NSIS\\makensis.exe\"" /D
INSTALLER_ICON="\"$${QGC_INSTALLER_ICON}\"" /DHEADER_BITMAP="\"$${QGC_INSTALLER_HEADER_BITMAP}\"" /D
APPNAME="\"$${QGC_APP_NAME}\"" /DEXENAME="\"$${TARGET}\"" /DORGNAME="\"$${QGC_ORG_NAME}\"" /DDESTDIR=$${DESTDIR} /NOCD "\"/XOutFile $${DESTDIR_WIN}\\$${TARGET}-installer.exe\"" "$$BASEDIR_WIN\\deploy\\qgroundcontrol_installer.nsi")
OTHER_FILES += deploy/qgroundcontrol_installer.nsi
}
LinuxBuild {
...
...
deploy/qgroundcontrol_installer.nsi
View file @
e8bb813d
...
...
@@ -44,9 +44,9 @@ InstallDir "$PROGRAMFILES\${APPNAME}"
SetCompressor /SOLID /FINAL lzma
!define MUI_HEADERIMAGE
!define MUI_HEADERIMAGE_BITMAP "
installheader.bmp
";
!define MUI_ICON "
WindowsQGC.ico
";
!define MUI_UNICON "
WindowsQGC.ico
";
!define MUI_HEADERIMAGE_BITMAP "
${HEADER_BITMAP}
";
!define MUI_ICON "
${INSTALLER_ICON}
";
!define MUI_UNICON "
${INSTALLER_ICON}
";
!insertmacro MUI_PAGE_STARTMENU Application $StartMenuFolder
!insertmacro MUI_PAGE_DIRECTORY
...
...
qgroundcontrol.pro
View file @
e8bb813d
...
...
@@ -84,6 +84,10 @@ QGC_ORG_DOMAIN = "org.qgroundcontrol"
QGC_APP_DESCRIPTION
=
"Open source ground control app provided by QGroundControl dev team"
QGC_APP_COPYRIGHT
=
"Copyright (C) 2017 QGroundControl Development Team. All rights reserved."
WindowsBuild
{
QGC_INSTALLER_ICON
=
"WindowsQGC.ico"
QGC_INSTALLER_HEADER_BITMAP
=
"installheader.bmp"
}
#
Load
additional
config
flags
from
user_config
.
pri
exists
(
user_config
.
pri
)
:
infile
(
user_config
.
pri
,
CONFIG
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment