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
|
Description: remove GitRevision
Author: laurent Trinques <scorpio@qelectrotech.org>
Origin: upstream
Last-Update: 2021-03-11
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/sources/machine_info.cpp
+++ b/sources/machine_info.cpp
@@ -120,7 +120,6 @@
<< QLibraryInfo::path(QLibraryInfo::SettingsPath);
#endif
#endif
- qInfo() << "GitRevision " + QString(GIT_COMMIT_SHA);
qInfo()<< "QElectroTech V " + QET::displayedVersion;
qInfo()<< QObject::tr("Compilation : ") + pc.built.version;
qInfo()<< "Built with Qt " + pc.built.QT
--- a/qelectrotech.pro
+++ b/qelectrotech.pro
@@ -74,7 +74,6 @@
DEFINES += QAPPLICATION_CLASS=QApplication
DEFINES += QT_MESSAGELOGCONTEXT
-DEFINES += GIT_COMMIT_SHA="\\\"$(shell git -C \""$$_PRO_FILE_PWD_"\" rev-parse --verify HEAD)\\\""
# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
|