diff options
author | Robert Bieber <robby@bieberphoto.com> | 2010-07-28 06:50:52 +0000 |
---|---|---|
committer | Robert Bieber <robby@bieberphoto.com> | 2010-07-28 06:50:52 +0000 |
commit | 1c372492adf8a6a8dfc0c6e512c02f19995128c2 (patch) | |
tree | b66482ec1401c71d38c3f0039b16e7b450452018 /utils/themeeditor/themeeditor.pro | |
parent | 1ee19676f22e9eed8de2b9dae4bd23b075961cf6 (diff) | |
download | rockbox-1c372492adf8a6a8dfc0c6e512c02f19995128c2.tar.gz rockbox-1c372492adf8a6a8dfc0c6e512c02f19995128c2.zip |
Theme Editor: Modified themeeditor.pro to call svnversion when qmake executes and include the revision in the version number, if building in debug mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27590 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/themeeditor.pro')
-rw-r--r-- | utils/themeeditor/themeeditor.pro | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/utils/themeeditor/themeeditor.pro b/utils/themeeditor/themeeditor.pro index a073465091..a58b878692 100644 --- a/utils/themeeditor/themeeditor.pro +++ b/utils/themeeditor/themeeditor.pro | |||
@@ -2,6 +2,12 @@ | |||
2 | TARGET = rbthemeeditor | 2 | TARGET = rbthemeeditor |
3 | VERSION = 0.5 | 3 | VERSION = 0.5 |
4 | 4 | ||
5 | CONFIG(debug){ | ||
6 | REVISION = $$system(svnversion) | ||
7 | VERSION=$$join(VERSION,,,r) | ||
8 | VERSION=$$join(VERSION,,,$$REVISION) | ||
9 | } | ||
10 | |||
5 | # Adding network support | 11 | # Adding network support |
6 | QT += network | 12 | QT += network |
7 | 13 | ||