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
This commit is contained in:
parent
9a28912f26
commit
db350ac3e2
1 changed files with 6 additions and 6 deletions
|
@ -1,8 +1,8 @@
|
||||||
# Setting the binary name
|
# Setting the binary name
|
||||||
TARGET = rbthemeeditor
|
TARGET = rbthemeeditor
|
||||||
VERSION = 0.5
|
VERSION = 0.5
|
||||||
CONFIG(debug) {
|
CONFIG(debug) {
|
||||||
REVISION = $$system(svnversion)
|
REVISION = $$system(git rev-parse --verify --short=10 HEAD)
|
||||||
VERSION = $$join(VERSION,,,r)
|
VERSION = $$join(VERSION,,,r)
|
||||||
VERSION = $$join(VERSION,,,$$REVISION)
|
VERSION = $$join(VERSION,,,$$REVISION)
|
||||||
}
|
}
|
||||||
|
@ -34,14 +34,14 @@ INCLUDEPATH += graphics
|
||||||
INCLUDEPATH += quazip
|
INCLUDEPATH += quazip
|
||||||
INCLUDEPATH += qtfindreplacedialog
|
INCLUDEPATH += qtfindreplacedialog
|
||||||
DEFINES += FINDREPLACE_NOLIB
|
DEFINES += FINDREPLACE_NOLIB
|
||||||
cross {
|
cross {
|
||||||
message("Crossbuilding for W32 binary")
|
message("Crossbuilding for W32 binary")
|
||||||
|
|
||||||
# retrieve ar binary for w32 cross compile. This might be specific to
|
# retrieve ar binary for w32 cross compile. This might be specific to
|
||||||
# Fedora mingw32 packages of Qt. Using member() here is needed because at
|
# Fedora mingw32 packages of Qt. Using member() here is needed because at
|
||||||
# least the F13 packages add ar options to the variable.
|
# least the F13 packages add ar options to the variable.
|
||||||
CROSSOPTIONS += AR=$$member(QMAKE_LIB) TARGETPLATFORM=\"MinGW\"
|
CROSSOPTIONS += AR=$$member(QMAKE_LIB) TARGETPLATFORM=\"MinGW\"
|
||||||
|
|
||||||
# make sure we use the correct subsystem to prevent a console window coming up.
|
# make sure we use the correct subsystem to prevent a console window coming up.
|
||||||
LIBS += -Wl,-subsystem,windows
|
LIBS += -Wl,-subsystem,windows
|
||||||
}
|
}
|
||||||
|
@ -202,7 +202,7 @@ FORMS += gui/editorwindow.ui \
|
||||||
gui/rbconsole.ui
|
gui/rbconsole.ui
|
||||||
RESOURCES += resources.qrc
|
RESOURCES += resources.qrc
|
||||||
win32:RC_FILE = themeeditor.rc
|
win32:RC_FILE = themeeditor.rc
|
||||||
macx {
|
macx {
|
||||||
QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.4u.sdk
|
QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.4u.sdk
|
||||||
QMAKE_LFLAGS_PPC = -mmacosx-version-min=10.4 \
|
QMAKE_LFLAGS_PPC = -mmacosx-version-min=10.4 \
|
||||||
-arch \
|
-arch \
|
||||||
|
|
Loading…
Reference in a new issue