1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

version in debug message based on git HEAD

This commit is contained in:
agilob 2014-10-18 08:47:42 +01:00
parent 26eb08aa00
commit 65780941ce
No known key found for this signature in database
GPG Key ID: 2CACF3EEF598C663
2 changed files with 6 additions and 0 deletions

View File

@ -44,6 +44,9 @@ TRANSLATIONS = translations/de.ts \
RESOURCES += res.qrc
GIT_VERSION = $$system(git rev-parse HEAD)
DEFINES += GIT_VERSION=\\\"$$GIT_VERSION\\\"
contains(JENKINS,YES) {
INCLUDEPATH += ./libs/include/
} else {

View File

@ -31,6 +31,9 @@ int main(int argc, char *argv[])
// Windows platform plugins DLL hell fix
QCoreApplication::addLibraryPath(QCoreApplication::applicationDirPath());
a.addLibraryPath("platforms");
qDebug() << "built on: " << __TIME__ << __DATE__;
qDebug() << "commit: " << GIT_VERSION << "\n";
// Load translations
QTranslator translator;