Commit 183e95d1 authored by Donald Gagne's avatar Donald Gagne

Allow custom build to override app name information

parent 272dbda6
...@@ -272,6 +272,9 @@ CustomBuild { ...@@ -272,6 +272,9 @@ CustomBuild {
RESOURCES += $$PWD/qgcresources.qrc RESOURCES += $$PWD/qgcresources.qrc
} }
} else { } else {
DEFINES += QGC_APPLICATION_NAME=\"\\\"QGroundControl\\\"\"
DEFINES += QGC_ORG_NAME=\"\\\"QGroundControl.org\\\"\"
DEFINES += QGC_ORG_DOMAIN=\"\\\"org.qgroundcontrol\\\"\"
RESOURCES += \ RESOURCES += \
$$PWD/qgroundcontrol.qrc \ $$PWD/qgroundcontrol.qrc \
$$PWD/qgcresources.qrc $$PWD/qgcresources.qrc
......
...@@ -12,8 +12,4 @@ ...@@ -12,8 +12,4 @@
// up by 1. This will caused store settings to be cleared on next boot. // up by 1. This will caused store settings to be cleared on next boot.
#define QGC_SETTINGS_VERSION 7 #define QGC_SETTINGS_VERSION 7
#define QGC_APPLICATION_NAME "QGroundControl"
#define QGC_ORG_NAME "QGroundControl.org"
#define QGC_ORG_DOMAIN "org.qgroundcontrol"
#endif // QGC_CONFIGURATION_H #endif // QGC_CONFIGURATION_H
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment