# HG changeset patch # User Hasan Yavuz Ă–ZDERYA # Date 2015-05-29 08:45:35 # Node ID f8234b8252bd4d7fa407cc49994d8c7a4fbbef06 # Parent 130806291698be0e9143d42d719ae8ec7969c00e log application version during startup diff --git a/main.cpp b/main.cpp --- a/main.cpp +++ b/main.cpp @@ -21,6 +21,8 @@ #include #include +#include "version.h" + MainWindow* pMainWindow; void messageHandler(QtMsgType type, const QMessageLogContext &context, @@ -37,6 +39,10 @@ int main(int argc, char *argv[]) qInstallMessageHandler(messageHandler); + // log application information + qDebug() << "SerialPlot" << VERSION_STRING; + qDebug() << "Revision" << VERSION_REVISION; + w.show(); return a.exec(); }