Build error on MacOS "no matching constructor for initialization of 'QGeoMapType'"

When I tried to build the project, I met the error

/Users/pengwang/qgroundcontrol/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp:105: error: no matching constructor for initialization of ‘QGeoMapType’
mapTypes << QGCGEOMAPTYPE(QGeoMapType::StreetMap, “Google Street Map”, “Google street map”, false, false, UrlFactory::GoogleMap);

/Users/pengwang/qgroundcontrol/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp:77: expanded from macro ‘QGCGEOMAPTYPE’
#define QGCGEOMAPTYPE(a,b,c,d,e,f) QGeoMapType(a,b,c,d,e,f,QByteArray(“QGroundControl”))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

And here’s all the outputs

19:56:11: Running steps for project qgroundcontrol…
19:56:11: Configuration unchanged, skipping qmake step.
19:56:11: Starting: “/usr/bin/make” -j4
compiling …/qgroundcontrol/libs/qextserialport/src/qextserialport.cpp
compiling …/qgroundcontrol/libs/qextserialport/src/qextserialenumerator.cpp
compiling …/qgroundcontrol/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp
compiling …/qgroundcontrol/libs/qwt/qwt_color_map.cpp
compiling …/qgroundcontrol/libs/qwt/qwt_compass.cpp
compiling …/qgroundcontrol/libs/qwt/qwt_compass_rose.cpp
compiling …/qgroundcontrol/libs/qwt/qwt_counter.cpp
…/qgroundcontrol/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp:105:17: error: no matching constructor for initialization of ‘QGeoMapType’
mapTypes << QGCGEOMAPTYPE(QGeoMapType::StreetMap, “Google Street Map”, “Google street map”, false, false, UrlFactory::GoogleMap);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/qgroundcontrol/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp:77:37: note: expanded from macro ‘QGCGEOMAPTYPE’
#define QGCGEOMAPTYPE(a,b,c,d,e,f) QGeoMapType(a,b,c,d,e,f,QByteArray(“QGroundControl”))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:81:5: note: candidate constructor not viable: requires at least 8 arguments, but 7 were provided
QGeoMapType(MapStyle style, const QString &name, const QString &description, bool mobile,
^
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:80:5: note: candidate constructor not viable: requires single argument ‘other’, but 7 arguments were provided
QGeoMapType(const QGeoMapType &other);
^
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:79:5: note: candidate constructor not viable: requires 0 arguments, but 7 were provided
QGeoMapType();
^
…/qgroundcontrol/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp:106:17: error: no matching constructor for initialization of ‘QGeoMapType’
mapTypes << QGCGEOMAPTYPE(QGeoMapType::SatelliteMapDay, “Google Satellite Map”, “Google satellite map”, false, false, UrlFactory::GoogleSatellite);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/qgroundcontrol/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp:77:37: note: expanded from macro ‘QGCGEOMAPTYPE’
#define QGCGEOMAPTYPE(a,b,c,d,e,f) QGeoMapType(a,b,c,d,e,f,QByteArray(“QGroundControl”))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:81:5: note: candidate constructor not viable: requires at least 8 arguments, but 7 were provided
QGeoMapType(MapStyle style, const QString &name, const QString &description, bool mobile,
^
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:80:5: note: candidate constructor not viable: requires single argument ‘other’, but 7 arguments were provided
QGeoMapType(const QGeoMapType &other);
^
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:79:5: note: candidate constructor not viable: requires 0 arguments, but 7 were provided
QGeoMapType();
^
…/qgroundcontrol/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp:107:17: error: no matching constructor for initialization of ‘QGeoMapType’
mapTypes << QGCGEOMAPTYPE(QGeoMapType::TerrainMap, “Google Terrain Map”, “Google terrain map”, false, false, UrlFactory::GoogleTerrain);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/qgroundcontrol/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp:77:37: note: expanded from macro ‘QGCGEOMAPTYPE’
#define QGCGEOMAPTYPE(a,b,c,d,e,f) QGeoMapType(a,b,c,d,e,f,QByteArray(“QGroundControl”))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:81:5: note: candidate constructor not viable: requires at least 8 arguments, but 7 were provided
QGeoMapType(MapStyle style, const QString &name, const QString &description, bool mobile,
^
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:80:5: note: candidate constructor not viable: requires single argument ‘other’, but 7 arguments were provided
QGeoMapType(const QGeoMapType &other);
^
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:79:5: note: candidate constructor not viable: requires 0 arguments, but 7 were provided
QGeoMapType();
^
…/qgroundcontrol/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp:118:17: error: no matching constructor for initialization of ‘QGeoMapType’
mapTypes << QGCGEOMAPTYPE(QGeoMapType::StreetMap, “Bing Street Map”, “Bing street map”, false, false, UrlFactory::BingMap);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/qgroundcontrol/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp:77:37: note: expanded from macro ‘QGCGEOMAPTYPE’
#define QGCGEOMAPTYPE(a,b,c,d,e,f) QGeoMapType(a,b,c,d,e,f,QByteArray(“QGroundControl”))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:81:5: note: candidate constructor not viable: requires at least 8 arguments, but 7 were provided
QGeoMapType(MapStyle style, const QString &name, const QString &description, bool mobile,
^
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:80:5: note: candidate constructor not viable: requires single argument ‘other’, but 7 arguments were provided
QGeoMapType(const QGeoMapType &other);
^
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:79:5: note: candidate constructor not viable: requires 0 arguments, but 7 were provided
QGeoMapType();
^
…/qgroundcontrol/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp:119:17: error: no matching constructor for initialization of ‘QGeoMapType’
mapTypes << QGCGEOMAPTYPE(QGeoMapType::SatelliteMapDay, “Bing Satellite Map”, “Bing satellite map”, false, false, UrlFactory::BingSatellite);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/qgroundcontrol/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp:77:37: note: expanded from macro ‘QGCGEOMAPTYPE’
#define QGCGEOMAPTYPE(a,b,c,d,e,f) QGeoMapType(a,b,c,d,e,f,QByteArray(“QGroundControl”))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:81:5: note: candidate constructor not viable: requires at least 8 arguments, but 7 were provided
QGeoMapType(MapStyle style, const QString &name, const QString &description, bool mobile,
^
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:80:5: note: candidate constructor not viable: requires single argument ‘other’, but 7 arguments were provided
QGeoMapType(const QGeoMapType &other);
^
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:79:5: note: candidate constructor not viable: requires 0 arguments, but 7 were provided
QGeoMapType();
^
…/qgroundcontrol/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp:120:17: error: no matching constructor for initialization of ‘QGeoMapType’
mapTypes << QGCGEOMAPTYPE(QGeoMapType::HybridMap, “Bing Hybrid Map”, “Bing hybrid map”, false, false, UrlFactory::BingHybrid);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/qgroundcontrol/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp:77:37: note: expanded from macro ‘QGCGEOMAPTYPE’
#define QGCGEOMAPTYPE(a,b,c,d,e,f) QGeoMapType(a,b,c,d,e,f,QByteArray(“QGroundControl”))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:81:5: note: candidate constructor not viable: requires at least 8 arguments, but 7 were provided
QGeoMapType(MapStyle style, const QString &name, const QString &description, bool mobile,
^
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:80:5: note: candidate constructor not viable: requires single argument ‘other’, but 7 arguments were provided
QGeoMapType(const QGeoMapType &other);
^
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:79:5: note: candidate constructor not viable: requires 0 arguments, but 7 were provided
QGeoMapType();
^
…/qgroundcontrol/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp:123:17: error: no matching constructor for initialization of ‘QGeoMapType’
mapTypes << QGCGEOMAPTYPE(QGeoMapType::TerrainMap, “Statkart Terrain Map”, “Statkart Terrain Map”, false, false, UrlFactory::StatkartTopo);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/qgroundcontrol/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp:77:37: note: expanded from macro ‘QGCGEOMAPTYPE’
#define QGCGEOMAPTYPE(a,b,c,d,e,f) QGeoMapType(a,b,c,d,e,f,QByteArray(“QGroundControl”))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:81:5: note: candidate constructor not viable: requires at least 8 arguments, but 7 were provided
QGeoMapType(MapStyle style, const QString &name, const QString &description, bool mobile,
^
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:80:5: note: candidate constructor not viable: requires single argument ‘other’, but 7 arguments were provided
QGeoMapType(const QGeoMapType &other);
^
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:79:5: note: candidate constructor not viable: requires 0 arguments, but 7 were provided
QGeoMapType();
^
…/qgroundcontrol/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp:126:17: error: no matching constructor for initialization of ‘QGeoMapType’
mapTypes << QGCGEOMAPTYPE(QGeoMapType::StreetMap, “Esri Street Map”, “ArcGIS Online World Street Map”, true, false, UrlFactory::EsriWorldStreet);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/qgroundcontrol/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp:77:37: note: expanded from macro ‘QGCGEOMAPTYPE’
#define QGCGEOMAPTYPE(a,b,c,d,e,f) QGeoMapType(a,b,c,d,e,f,QByteArray(“QGroundControl”))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:81:5: note: candidate constructor not viable: requires at least 8 arguments, but 7 were provided
QGeoMapType(MapStyle style, const QString &name, const QString &description, bool mobile,
^
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:80:5: note: candidate constructor not viable: requires single argument ‘other’, but 7 arguments were provided
QGeoMapType(const QGeoMapType &other);
^
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:79:5: note: candidate constructor not viable: requires 0 arguments, but 7 were provided
QGeoMapType();
^
…/qgroundcontrol/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp:127:17: error: no matching constructor for initialization of ‘QGeoMapType’
mapTypes << QGCGEOMAPTYPE(QGeoMapType::SatelliteMapDay, “Esri Satellite Map”, “ArcGIS Online World Imagery”, true, false, UrlFactory::EsriWorldSatellite);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/qgroundcontrol/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp:77:37: note: expanded from macro ‘QGCGEOMAPTYPE’
#define QGCGEOMAPTYPE(a,b,c,d,e,f) QGeoMapType(a,b,c,d,e,f,QByteArray(“QGroundControl”))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:81:5: note: candidate constructor not viable: requires at least 8 arguments, but 7 were provided
QGeoMapType(MapStyle style, const QString &name, const QString &description, bool mobile,
^
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:80:5: note: candidate constructor not viable: requires single argument ‘other’, but 7 arguments were provided
QGeoMapType(const QGeoMapType &other);
^
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:79:5: note: candidate constructor not viable: requires 0 arguments, but 7 were provided
QGeoMapType();
^
…/qgroundcontrol/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp:128:17: error: no matching constructor for initialization of ‘QGeoMapType’
mapTypes << QGCGEOMAPTYPE(QGeoMapType::TerrainMap, “Esri Terrain Map”, “World Terrain Base”, false, false, UrlFactory::EsriTerrain);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/qgroundcontrol/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp:77:37: note: expanded from macro ‘QGCGEOMAPTYPE’
#define QGCGEOMAPTYPE(a,b,c,d,e,f) QGeoMapType(a,b,c,d,e,f,QByteArray(“QGroundControl”))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:81:5: note: candidate constructor not viable: requires at least 8 arguments, but 7 were provided
QGeoMapType(MapStyle style, const QString &name, const QString &description, bool mobile,
^
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:80:5: note: candidate constructor not viable: requires single argument ‘other’, but 7 arguments were provided
QGeoMapType(const QGeoMapType &other);
^
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:79:5: note: candidate constructor not viable: requires 0 arguments, but 7 were provided
QGeoMapType();
^
…/qgroundcontrol/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp:144:17: error: no matching constructor for initialization of ‘QGeoMapType’
mapTypes << QGCGEOMAPTYPE(QGeoMapType::StreetMap, “Mapbox Street Map”, “Mapbox Street Map”, false, false, UrlFactory::MapboxStreets);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/qgroundcontrol/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp:77:37: note: expanded from macro ‘QGCGEOMAPTYPE’
#define QGCGEOMAPTYPE(a,b,c,d,e,f) QGeoMapType(a,b,c,d,e,f,QByteArray(“QGroundControl”))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:81:5: note: candidate constructor not viable: requires at least 8 arguments, but 7 were provided
QGeoMapType(MapStyle style, const QString &name, const QString &description, bool mobile,
^
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:80:5: note: candidate constructor not viable: requires single argument ‘other’, but 7 arguments were provided
QGeoMapType(const QGeoMapType &other);
^
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:79:5: note: candidate constructor not viable: requires 0 arguments, but 7 were provided
QGeoMapType();
^
…/qgroundcontrol/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp:145:17: error: no matching constructor for initialization of ‘QGeoMapType’
mapTypes << QGCGEOMAPTYPE(QGeoMapType::SatelliteMapDay, “Mapbox Satellite Map”, “Mapbox Satellite Map”, false, false, UrlFactory::MapboxSatellite);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/qgroundcontrol/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp:77:37: note: expanded from macro ‘QGCGEOMAPTYPE’
#define QGCGEOMAPTYPE(a,b,c,d,e,f) QGeoMapType(a,b,c,d,e,f,QByteArray(“QGroundControl”))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:81:5: note: candidate constructor not viable: requires at least 8 arguments, but 7 were provided
QGeoMapType(MapStyle style, const QString &name, const QString &description, bool mobile,
^
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:80:5: note: candidate constructor not viable: requires single argument ‘other’, but 7 arguments were provided
QGeoMapType(const QGeoMapType &other);
^
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:79:5: note: candidate constructor not viable: requires 0 arguments, but 7 were provided
QGeoMapType();
^
…/qgroundcontrol/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp:146:17: error: no matching constructor for initialization of ‘QGeoMapType’
mapTypes << QGCGEOMAPTYPE(QGeoMapType::CustomMap, “Mapbox High Contrast Map”, “Mapbox High Contrast Map”, false, false, UrlFactory::MapboxHighContrast);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/qgroundcontrol/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp:77:37: note: expanded from macro ‘QGCGEOMAPTYPE’
#define QGCGEOMAPTYPE(a,b,c,d,e,f) QGeoMapType(a,b,c,d,e,f,QByteArray(“QGroundControl”))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:81:5: note: candidate constructor not viable: requires at least 8 arguments, but 7 were provided
QGeoMapType(MapStyle style, const QString &name, const QString &description, bool mobile,
^
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:80:5: note: candidate constructor not viable: requires single argument ‘other’, but 7 arguments were provided
QGeoMapType(const QGeoMapType &other);
^
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:79:5: note: candidate constructor not viable: requires 0 arguments, but 7 were provided
QGeoMapType();
^
…/qgroundcontrol/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp:147:17: error: no matching constructor for initialization of ‘QGeoMapType’
mapTypes << QGCGEOMAPTYPE(QGeoMapType::CustomMap, “Mapbox Light Map”, “Mapbox Light Map”, false, false, UrlFactory::MapboxLight);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/qgroundcontrol/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp:77:37: note: expanded from macro ‘QGCGEOMAPTYPE’
#define QGCGEOMAPTYPE(a,b,c,d,e,f) QGeoMapType(a,b,c,d,e,f,QByteArray(“QGroundControl”))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:81:5: note: candidate constructor not viable: requires at least 8 arguments, but 7 were provided
QGeoMapType(MapStyle style, const QString &name, const QString &description, bool mobile,
^
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:80:5: note: candidate constructor not viable: requires single argument ‘other’, but 7 arguments were provided
QGeoMapType(const QGeoMapType &other);
^
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:79:5: note: candidate constructor not viable: requires 0 arguments, but 7 were provided
QGeoMapType();
^
…/qgroundcontrol/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp:148:17: error: no matching constructor for initialization of ‘QGeoMapType’
mapTypes << QGCGEOMAPTYPE(QGeoMapType::CustomMap, “Mapbox Dark Map”, “Mapbox Dark Map”, false, false, UrlFactory::MapboxDark);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/qgroundcontrol/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp:77:37: note: expanded from macro ‘QGCGEOMAPTYPE’
#define QGCGEOMAPTYPE(a,b,c,d,e,f) QGeoMapType(a,b,c,d,e,f,QByteArray(“QGroundControl”))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:81:5: note: candidate constructor not viable: requires at least 8 arguments, but 7 were provided
QGeoMapType(MapStyle style, const QString &name, const QString &description, bool mobile,
^
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:80:5: note: candidate constructor not viable: requires single argument ‘other’, but 7 arguments were provided
QGeoMapType(const QGeoMapType &other);
^
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:79:5: note: candidate constructor not viable: requires 0 arguments, but 7 were provided
QGeoMapType();
^
…/qgroundcontrol/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp:149:17: error: no matching constructor for initialization of ‘QGeoMapType’
mapTypes << QGCGEOMAPTYPE(QGeoMapType::HybridMap, “Mapbox Hybrid Map”, “Mapbox Hybrid Map”, false, false, UrlFactory::MapboxHybrid);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/qgroundcontrol/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp:77:37: note: expanded from macro ‘QGCGEOMAPTYPE’
#define QGCGEOMAPTYPE(a,b,c,d,e,f) QGeoMapType(a,b,c,d,e,f,QByteArray(“QGroundControl”))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:81:5: note: candidate constructor not viable: requires at least 8 arguments, but 7 were provided
QGeoMapType(MapStyle style, const QString &name, const QString &description, bool mobile,
^
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:80:5: note: candidate constructor not viable: requires single argument ‘other’, but 7 arguments were provided
QGeoMapType(const QGeoMapType &other);
^
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:79:5: note: candidate constructor not viable: requires 0 arguments, but 7 were provided
QGeoMapType();
^
…/qgroundcontrol/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp:150:17: error: no matching constructor for initialization of ‘QGeoMapType’
mapTypes << QGCGEOMAPTYPE(QGeoMapType::CustomMap, “Mapbox Wheat Paste Map”, “Mapbox Wheat Paste Map”, false, false, UrlFactory::MapboxWheatPaste);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/qgroundcontrol/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp:77:37: note: expanded from macro ‘QGCGEOMAPTYPE’
#define QGCGEOMAPTYPE(a,b,c,d,e,f) QGeoMapType(a,b,c,d,e,f,QByteArray(“QGroundControl”))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:81:5: note: candidate constructor not viable: requires at least 8 arguments, but 7 were provided
QGeoMapType(MapStyle style, const QString &name, const QString &description, bool mobile,
^
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:80:5: note: candidate constructor not viable: requires single argument ‘other’, but 7 arguments were provided
QGeoMapType(const QGeoMapType &other);
^
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:79:5: note: candidate constructor not viable: requires 0 arguments, but 7 were provided
QGeoMapType();
^
…/qgroundcontrol/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp:151:17: error: no matching constructor for initialization of ‘QGeoMapType’
mapTypes << QGCGEOMAPTYPE(QGeoMapType::StreetMap, “Mapbox Streets Basic Map”, “Mapbox Streets Basic Map”, false, false, UrlFactory::MapboxStreetsBasic);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/qgroundcontrol/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp:77:37: note: expanded from macro ‘QGCGEOMAPTYPE’
#define QGCGEOMAPTYPE(a,b,c,d,e,f) QGeoMapType(a,b,c,d,e,f,QByteArray(“QGroundControl”))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:81:5: note: candidate constructor not viable: requires at least 8 arguments, but 7 were provided
QGeoMapType(MapStyle style, const QString &name, const QString &description, bool mobile,
^
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:80:5: note: candidate constructor not viable: requires single argument ‘other’, but 7 arguments were provided
QGeoMapType(const QGeoMapType &other);
^
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:79:5: note: candidate constructor not viable: requires 0 arguments, but 7 were provided
QGeoMapType();
^
…/qgroundcontrol/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp:152:17: error: no matching constructor for initialization of ‘QGeoMapType’
mapTypes << QGCGEOMAPTYPE(QGeoMapType::CustomMap, “Mapbox Comic Map”, “Mapbox Comic Map”, false, false, UrlFactory::MapboxComic);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/qgroundcontrol/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp:77:37: note: expanded from macro ‘QGCGEOMAPTYPE’
#define QGCGEOMAPTYPE(a,b,c,d,e,f) QGeoMapType(a,b,c,d,e,f,QByteArray(“QGroundControl”))
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:81:5: note: candidate constructor not viable: requires at least 8 arguments, but 7 were provided
QGeoMapType(MapStyle style, const QString &name, const QString &description, bool mobile,
^
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:80:5: note: candidate constructor not viable: requires single argument ‘other’, but 7 arguments were provided
QGeoMapType(const QGeoMapType &other);
^
…/Qt5/5.12.6/clang_64/lib/QtLocation.framework/Headers/5.12.6/QtLocation/private/qgeomaptype_p.h:79:5: note: candidate constructor not viable: requires 0 arguments, but 7 were provided
QGeoMapType();
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make: *** [obj/QGeoTiledMappingManagerEngineQGC.o] Error 1
make: *** Waiting for unfinished jobs…
19:56:15: The process “/usr/bin/make” exited with code 2.
Error while building/deploying project qgroundcontrol (kit: Desktop Qt 5.12.6 clang 64bit)
When executing step “Make”
19:56:15: Elapsed time: 00:05.

There was a last minute change which required us to go back from Qt 5.12.6 to 5.12.5. The docs are out of date. I’ll get that fixed. This could be the problem.