0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-23 16:22:58 +03:00

Merge pull request #474 from aol-nnov/version-generator-followup

Fix qmake version generator
This commit is contained in:
Alexander Arin 2024-09-20 17:41:55 +03:00 committed by GitHub
commit 731c05454d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -215,7 +215,7 @@ RESOURCES += \
$$REPORT_PATH/items/items.qrc $$REPORT_PATH/items/items.qrc
system("git --version") { system("git --version") {
LR_VERSION = $$system("git --git-dir=$$PWD/../.git describe --tags --dirty") LR_VERSION = $$system("git --git-dir=$$PWD/../.git --work-tree=$$PWD/.. describe --tags --dirty")
} else { } else {
LR_VERSION = "0.0.0-unknown" LR_VERSION = "0.0.0-unknown"
} }