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
2ef4023b
Commit
2ef4023b
authored
Oct 25, 2015
by
Daniel Agar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qmake cleanup git version
parent
4ad29754
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
QGCCommon.pri
QGCCommon.pri
+1
-0
qgroundcontrol.pro
qgroundcontrol.pro
+0
-3
No files found.
QGCCommon.pri
View file @
2ef4023b
...
...
@@ -73,6 +73,7 @@ MobileBuild {
exists ($$PWD/.git) {
GIT_DESCRIBE = $$system(git --git-dir $$PWD/.git --work-tree $$PWD describe --always --tags)
message(QGroundControl version $${GIT_DESCRIBE})
} else {
GIT_DESCRIBE = None
}
...
...
qgroundcontrol.pro
View file @
2ef4023b
...
...
@@ -30,6 +30,3 @@ message(Qt version $$[QT_VERSION])
error
(
"Unsupported Qt version, 5.4+ is required"
)
}
message
(
QGroundControl
version
$$
{
GIT_DESCRIBE
})
git_ver
.
commands
=
$$
QGC_GIT_VER
QMAKE_EXTRA_TARGETS
+=
git_ver
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