From db350ac3e2064ba09d81173abea589f70fe1a106 Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Fri, 4 Sep 2020 19:08:54 +0200 Subject: 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 --- utils/themeeditor/themeeditor.pro | 12 ++++++------ 1 file 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 \ -- cgit v1.2.3