diff --git a/src/Core.cc b/src/Core.cc index 068ea54d414bb6f8269aadc11231e4bd33e87ff1..55d701e151ed3fe2a6cbf2cc5d32831609c43651 100644 --- a/src/Core.cc +++ b/src/Core.cc @@ -40,6 +40,7 @@ This file is part of the PIXHAWK project #include #include +#include "configuration.h" #include "Core.h" #include "MG.h" #include "MainWindow.h" @@ -61,9 +62,9 @@ This file is part of the PIXHAWK project Core::Core(int &argc, char* argv[]) : QApplication(argc, argv) { - this->setApplicationName("QGroundControl"); - this->setApplicationVersion("v. 0.7.5 (Beta)"); - this->setOrganizationName(QLatin1String("OpenMAV Association")); + this->setApplicationName(QGC_APPLICATION_NAME); + this->setApplicationVersion(QGC_APPLICATION_VERSION); + this->setOrganizationName(QLatin1String("PIXHAWK Association Zurich")); this->setOrganizationDomain("http://qgroundcontrol.org"); // Show splash screen diff --git a/src/configuration.h b/src/configuration.h index f09ca61afa717e2b3a78c1557b73ff2e001f3496..6fe339966d613437572a21380a15477e26bf4dd6 100644 --- a/src/configuration.h +++ b/src/configuration.h @@ -11,4 +11,7 @@ #define WITH_TEXT_TO_SPEECH 1 +#define QGC_APPLICATION_NAME "QGroundControl" +#define QGC_APPLICATION_VERSION "v. 0.7.6 (Beta)" + #endif // CONFIGURATION_H