summaryrefslogtreecommitdiff
path: root/utils/themeeditor
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2020-09-04 19:08:54 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2020-09-04 19:08:54 +0200
commitdb350ac3e2064ba09d81173abea589f70fe1a106 (patch)
treee46e8de0d1a79c5c39c6fddeb63eb0722d134646 /utils/themeeditor
parent9a28912f2601a9363f5f2d9b9a14878d0852400c (diff)
themeeditor: Get revision info from git.
We're not using svn anymore. This isn't used, but at least try to get the right value. Change-Id: I66e726d28b504a0f15d5b6497a02963243ba466a
Diffstat (limited to 'utils/themeeditor')
-rw-r--r--utils/themeeditor/themeeditor.pro12
1 files changed, 6 insertions, 6 deletions
diff --git a/utils/themeeditor/themeeditor.pro b/utils/themeeditor/themeeditor.pro
index b7795555d3..452720e2dd 100644
--- a/utils/themeeditor/themeeditor.pro
+++ b/utils/themeeditor/themeeditor.pro
@@ -1,8 +1,8 @@
# Setting the binary name
TARGET = rbthemeeditor
VERSION = 0.5
-CONFIG(debug) {
- REVISION = $$system(svnversion)
+CONFIG(debug) {
+ REVISION = $$system(git rev-parse --verify --short=10 HEAD)
VERSION = $$join(VERSION,,,r)
VERSION = $$join(VERSION,,,$$REVISION)
}
@@ -34,14 +34,14 @@ INCLUDEPATH += graphics
INCLUDEPATH += quazip
INCLUDEPATH += qtfindreplacedialog
DEFINES += FINDREPLACE_NOLIB
-cross {
+cross {
message("Crossbuilding for W32 binary")
-
+
# retrieve ar binary for w32 cross compile. This might be specific to
# Fedora mingw32 packages of Qt. Using member() here is needed because at
# least the F13 packages add ar options to the variable.
CROSSOPTIONS += AR=$$member(QMAKE_LIB) TARGETPLATFORM=\"MinGW\"
-
+
# make sure we use the correct subsystem to prevent a console window coming up.
LIBS += -Wl,-subsystem,windows
}
@@ -202,7 +202,7 @@ FORMS += gui/editorwindow.ui \
gui/rbconsole.ui
RESOURCES += resources.qrc
win32:RC_FILE = themeeditor.rc
-macx {
+macx {
QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.4u.sdk
QMAKE_LFLAGS_PPC = -mmacosx-version-min=10.4 \
-arch \