Browse Source

Version information in .exe

Still not working fully but more information is getting in there than
before. Also by removing VERSION from .pro it fixes problem with vs
proj being built incorrectly.
QGC4.4
Don Gagne 11 years ago
parent
commit
956b686136
  1. 2
      QGCSetup.pri
  2. 7
      qgroundcontrol.pro
  3. 20
      qgroundcontrol.rc

2
QGCSetup.pri

@ -199,4 +199,4 @@ WindowsBuild { @@ -199,4 +199,4 @@ WindowsBuild {
QMAKE_POST_LINK += $$escape_expand(\\n) $$quote(xcopy /D /Y "\"C:\\Program Files \(x86\)\\Microsoft Visual Studio 10.0\\VC\\redist\\x86\\Microsoft.VC100.CRT\\*.dll\"" "$$DESTDIR_WIN\\release\\")
}
}
}
}

7
qgroundcontrol.pro

@ -102,18 +102,11 @@ LinuxBuild { @@ -102,18 +102,11 @@ LinuxBuild {
WindowsBuild {
DEFINES += __STDC_LIMIT_MACROS
VERSION = 2.0.0.227
QMAKE_TARGET_COMPANY = qgroundcontrol.org
QMAKE_TARGET_PRODUCT = qgroundcontrol
QMAKE_TARGET_DESCRIPTION = "Open source ground control app provided by QGroundControl dev team"
QMAKE_TARGET_COPYRIGHT = "Copyright (C) 2013 QGroundControl Development Team. All rights reserved."
# Specify multi-process compilation within Visual Studio.
# (drastically improves compilation times for multi-core computers)
QMAKE_CXXFLAGS_DEBUG += -MP
QMAKE_CXXFLAGS_RELEASE += -MP
# QWebkit is not needed on MS-Windows compilation environment
CONFIG -= webkit

20
qgroundcontrol.rc

@ -1 +1,21 @@ @@ -1 +1,21 @@
IDI_ICON1 ICON DISCARDABLE "files/images/icons/qgroundcontrol.ico"
1 VERSIONINFO
FILEVERSION 2,0,0,227
PRODUCTVERSION 2,0,0,0
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904E4"
BEGIN
VALUE "CompanyName", "qgroundcontrol.org"
VALUE "FileDescription", "Open source ground control app provided by QGroundControl dev team"
VALUE "FileVersion", "2.0.0.227"
VALUE "LegalCopyright", "Copyright (C) 2013 QGroundControl Development Team. All rights reserved."
VALUE "ProductName", "qgroundcontrol"
VALUE "ProductVersion", "2.0"
VALUE "InternalName", "qgroundcontrol"
VALUE "OriginalFilename", "qgroundcontrol.exe"
END
END
END

Loading…
Cancel
Save