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:
parent
26eb08aa00
commit
65780941ce
3
qtox.pro
3
qtox.pro
|
@ -44,6 +44,9 @@ TRANSLATIONS = translations/de.ts \
|
||||||
|
|
||||||
RESOURCES += res.qrc
|
RESOURCES += res.qrc
|
||||||
|
|
||||||
|
GIT_VERSION = $$system(git rev-parse HEAD)
|
||||||
|
DEFINES += GIT_VERSION=\\\"$$GIT_VERSION\\\"
|
||||||
|
|
||||||
contains(JENKINS,YES) {
|
contains(JENKINS,YES) {
|
||||||
INCLUDEPATH += ./libs/include/
|
INCLUDEPATH += ./libs/include/
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -31,6 +31,9 @@ int main(int argc, char *argv[])
|
||||||
// Windows platform plugins DLL hell fix
|
// Windows platform plugins DLL hell fix
|
||||||
QCoreApplication::addLibraryPath(QCoreApplication::applicationDirPath());
|
QCoreApplication::addLibraryPath(QCoreApplication::applicationDirPath());
|
||||||
a.addLibraryPath("platforms");
|
a.addLibraryPath("platforms");
|
||||||
|
|
||||||
|
qDebug() << "built on: " << __TIME__ << __DATE__;
|
||||||
|
qDebug() << "commit: " << GIT_VERSION << "\n";
|
||||||
|
|
||||||
// Load translations
|
// Load translations
|
||||||
QTranslator translator;
|
QTranslator translator;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user