Qt5.12.6编译 QGroundControl 4.0.6 构建下项目报错

新手在Ubuntu 16.04上使用Qt5.12.6尝试编译QGroundControl 4.0.6源码时遇到错误。按照开发手册操作后,编译过程中出现'Nothing to be done for 'qmake_all''的提示,并在后续编译中遇到关于'fallthrough'属性的-Werror警告,导致编译失败。
摘要由CSDN通过智能技术生成

    我是一个新手,最近在编译  QGroundControl 4.0.6 源码是  使用的 Qt5.12.6 在  ubuntu 16.04 上,完全按照QGroundControl开发手册操作的,。

  当一开始 

启动qtcreator   并选择Desktop_Qt_5_12_6_GCC_64bit  开始  build

结果最后   提示  如下  :

"/usr/bin/g++" is used by qmake, but "/usr/bin/gcc" is configured in the kit.
 please update your kit of choose a mkspec for qmake that matches your target environment better.

 然后继续 运行   结果 报错如下:

make: Nothing to be done for 'qmake_all'.

22:59:52: 进程"/usr/bin/make"正常退出。

22:59:52: 正在启动 "/usr/bin/make" -j4

 

compiling /home/dxf/QGroundControl4.0.6/qgroundcontrol/src/QtLocationPlugin/QGCMapEngine.cpp

compiling /home/dxf/QGroundControl4.0.6/qgroundcontrol/src/QtLocationPlugin/QGCMapTileSet.cpp

compiling /home/dxf/QGroundControl4.0.6/qgroundcontrol/src/QtLocationPlugin/QGCMapUrlEngine.cpp

compiling /home/dxf/QGroundControl4.0.6/qgroundcontrol/src/QtLocationPlugin/QGCTileCacheWorker.cpp

compiling /home/dxf/QGroundControl4.0.6/qgroundcontrol/src/QtLocationPlugin/QGeoCodeReplyQGC.cpp

compiling /home/dxf/QGroundControl4.0.6/qgroundcontrol/src/QtLocationPlugin/QGeoCodingManagerEngineQGC.cpp

compiling /home/dxf/QGroundControl4.0.6/qgroundcontrol/src/QtLocationPlugin/QGeoMapReplyQGC.cpp

compiling /home/dxf/QGroundControl4.0.6/qgroundcontrol/src/QtLocationPlugin/QGeoServiceProviderPluginQGC.cpp

compiling /home/dxf/QGroundControl4.0.6/qgroundcontrol/src/QtLocationPlugin/QGeoTileFetcherQGC.cpp

compiling /home/dxf/QGroundControl4.0.6/qgroundcontrol/src/QtLocationPlugin/QGeoTiledMappingManagerEngineQGC.cpp

compiling /home/dxf/QGroundControl4.0.6/qgroundcontrol/src/QtLocationPlugin/MapProvider.cpp

compiling /home/dxf/QGroundControl4.0.6/qgroundcontrol/src/QtLocationPlugin/ElevationMapProvider.cpp

compiling /home/dxf/Q

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值