From 894e66056ece40cf07db0653c9b7631c5186ae26 Mon Sep 17 00:00:00 2001 From: wmayer Date: Sat, 2 May 2015 02:13:13 +0200 Subject: [PATCH] + show build type --- src/Gui/Splashscreen.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Gui/Splashscreen.cpp b/src/Gui/Splashscreen.cpp index 985b44689..c1420f016 100644 --- a/src/Gui/Splashscreen.cpp +++ b/src/Gui/Splashscreen.cpp @@ -526,6 +526,13 @@ void AboutDialog::on_copyButton_clicked() } str << "Word size of " << exe << ": " << QSysInfo::WordSize << "-bit" << endl; str << "Version: " << major << "." << minor << "." << build << endl; +#if defined(_DEBUG) + str << "Build type: Debug" << endl; +#elif defined(NDEBUG) + str << "Build type: Release" << endl; +#else + str << "Build type: Unknown" << endl; +#endif it = config.find("BuildRevisionBranch"); if (it != config.end()) str << "Branch: " << it->second.c_str() << endl;