QGC v5 - Custom Build Example

Hello!
Got problem using qgc v5 custom build. Here is what I do:

  1. rename “custom-example” folder to “custom”;
  2. go to custom/src/AutoPilotPlugin/CustomAutoPilotPlugin.cc
  3. go to CustomAutoPilotPlugin::vehicleComponents() and change bool showAdvanced to true in order to show all vehicle components;
  4. clear build directory;
  5. run cmake;
  6. build & run (debug config);
  7. app starts;
  8. go to MockLink & add PX4 device;
  9. go to Vehicle Configuration;
  10. get empty Summary page;
  11. get empty Airframe page;
  12. get message: “warning: qrc:/qml/QGroundControl/VehicleSetup/VehicleSummary.qml:20:1: module “QGroundControl.AutoPilotPlugins.PX4” is not installed (default:unknown:20)”;
  13. get message: “warning: qrc:/qml/QGroundControl/AutoPilotPlugins/PX4/AirframeComponent.qml: No such file or directory (default:unknown:-1)”

Am i missing something? QGC v4 Custom Build Example worked fine out of the box. Thanks in advance.

QGC v.5 is still in development and testing stage. Whilst most of the basic functions are working, there are many issues still being worked on.
Also the build environment has completely changed since v.4. As such many changes still occur.
Perhaps best to wait until a stable version is announced or create an issue report on Github.
→ Please check first for already reported issues relating to your problem.