diff options
author | 2016-10-26 13:18:37 +0200 | |
---|---|---|
committer | 2016-10-26 13:18:37 +0200 | |
commit | 4e34fd88f65f8c1cd094ed24bd62d2c7f5418080 (patch) | |
tree | 4fef56d0ac26a565ad7a6f2ce624d1aa1028863a /SampleAppTimeDate/src/main.cpp | |
parent | ef00508748d82b3703951cc8eb46b289af8111b0 (diff) |
All apps print their app name and version on launch.
Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
Diffstat (limited to 'SampleAppTimeDate/src/main.cpp')
-rw-r--r-- | SampleAppTimeDate/src/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/SampleAppTimeDate/src/main.cpp b/SampleAppTimeDate/src/main.cpp index 6c0d83c..7cd51c0 100644 --- a/SampleAppTimeDate/src/main.cpp +++ b/SampleAppTimeDate/src/main.cpp @@ -11,6 +11,8 @@ int main(int argc, char *argv[]) QCoreApplication::setApplicationName("SampleAppTimeDate"); QCoreApplication::setApplicationVersion("0.3.0"); + qDebug("%s, v%s", QCoreApplication::applicationName().toStdString().c_str(), QCoreApplication::applicationVersion().toStdString().c_str()); + TimeDateProvider *tdp = new TimeDateProvider(); tdp->start(); |