blob: f58b8d154a4e6815267a2f61e6e0fda3a777e71a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
--- GitQlient.pro.orig 2024-10-14 22:38:13 UTC
+++ GitQlient.pro
@@ -4,11 +4,6 @@ DEFINES += QT_DEPRECATED_WARNINGS
QT += widgets core network gui
DEFINES += QT_DEPRECATED_WARNINGS
-if (!exists(src/git/.git) || !exists(src/AuxiliarCustomWidgets/.git) || !exists(src/QLogger/.git) || !exists(src/QPinnableTabWidget/.git)) {
- message("Submodule update:")
- system(git submodule update --init --recursive)
-}
-
unix:!macos {
TARGET = gitqlient
QMAKE_LFLAGS += -no-pie
@@ -57,19 +52,9 @@ OTHER_FILES += \
OTHER_FILES += \
$$PWD/LICENSE
-
-isEmpty(VERSION) {
- VERSION = $$system(git describe --abbrev=0)
- VERSION = $$replace(VERSION, "v", "")
-}
-
-!defined(GQ_SHA, var) {
- GQ_SHA = $$system(git rev-parse --short HEAD)
-}
-
DEFINES += \
- VER=\\\"$$VERSION\\\" \
- SHA_VER=\\\"$$GQ_SHA\\\"
+ VER=\\\"%%DISTVERSION%%\\\" \
+ SHA_VER=\\\"%%SHASHORT%%\\\"
!win32-msvc* {
debug {
|