qgroundcontrol icon indicating copy to clipboard operation
qgroundcontrol copied to clipboard

QGCS Custom Build Failed

Open Storch9120 opened this issue 1 year ago • 2 comments


Timeline

I’ve followed the latest instructions for a custom build i.e.

  1. Fresh Build (completes)
  2. Renamed custom-example to custom
  3. Ran the python script updateqrc.py
  4. Clean build
  5. Rebuild (fails) and encountered the following errors (Re: Screenshot) Screenshot

So I made these changes to the CustomFirmwarePlugin.cc at line 23 (inside if statement) Screenshot2

Now the build completes but on execution this is shown in Application Output: Screenshot3

System Information

  • Operating System: Ubuntu 20.04
  • QGC build: Daily
  • Qt Version 6.6.1

Please advise if I should revert those changes I made and what other changes I should make to diagnose these errors.

Storch9120 avatar Feb 01 '24 12:02 Storch9120

The custom build hasn't been updated to move to Qt6 yet. I'll try to get to it as soon as I can.

DonLakeFlyer avatar Feb 02 '24 17:02 DonLakeFlyer

@Storch9120 hit the same issues! Fix for me was:

  • make the same changes as you did to CustomFirmwarePlugin.cc
  • add import Qt5Compat.GraphicalEffects to CustomAttitudeWidget.qml (the last line of your final error message) The application loads and I can switch between fly & plan view, all the buttons seem to work as expected. Not much rigorous testing I can do as I'm just getting into this stuff myself.
Screenshot 2024-02-07 at 4 29 53 PM Screenshot 2024-02-07 at 4 40 57 PM

ijulanday avatar Feb 07 '24 23:02 ijulanday

The custom build hasn't been updated to move to Qt6 yet. I'll try to get to it as soon as I can.

Any update on this?

TishSerg avatar Apr 09 '24 12:04 TishSerg

#11277

HTRamsey avatar Apr 13 '24 11:04 HTRamsey