Herelink custom qgroundcontrol app

Maybe you can try to change the name of your customer QGC, then disable the stock QGC in settings.

You need the extra commits in our repo to fit the Herelink hardware. The official QGC don’t naturally work in Herelink.

Hi @Alvin ,

Thanks for the reply.

yes I understand that.

I was able to build this repo -

which was the recommended repo as the base.

I was also able to deploy that to my herelink by changing the name of the app from
AndroidManifest.xml file -

The issue was I was having was that when I run the qgc it crashes - even with the stock qgc disabled.

I am assuming these are the commits -

I saw there are other branches of interest - image

I find that the herelink-v4.0.8 seems to be more active than master. <- but I was not able to build this successfully.

so my question would be - is the current herelink-qgc master still the correct repo?

or would you advice to merge the herelink commits to the main qgc?

or another way?

Please build the latest branch.

Hi @Alvin ,

I was able to build the herelink-v4.0.8

I got some clues on how to set my configurations here -

I was missing this -

I had to manually download and add the gstreamer files and only then I was able to build.

Thanks so much

1 Like


I am struggling to reach the stage of where I can build the herelink-qgroundcontrol version from github (4.08 as of now). With which versions, NDK QT SDK Java, did you manage to compile?

Thank you for any guidance.

please refer to the github CI file, as this is currently building on every commit

but in general
NDK r20
SDK 29
QT 5.12.6
GStreamer 1.14.4


Thank you for this hint already, I got a lot closer to a compile.

I am, however, stuck at one issue. in QT I can’t figure out how to get the platform tools set to 29. I can only get 33 sowehow through the sdk manager but with that it doesn’t compile as is can’t find the dx.jar file that is present in the version 29 folder.

Thanks for any further help!

I figured it out. Needed to manually download the version and exctract it into the sdk tools directory.

How were you able to set NDK 20xx and QT 5.12.6? When I try this config during Kit setup, it automatically adds NDK 23xx based on QT 5.12.6. I’m unable to build with NDK 23xx or 25xx.

Was able to fix this, turns out ndk 23xx is required for the check but we can select 20xx for the kit

For anyone having a white screen, it’s because of this error: --Added-by-androiddeployqt--/qml/QtQuick/Controls/ApplicationWindow.qml

Which is caused by the Windows 256 characters path limit! Just make sure the build path is short. This is the answer that helped me.

we too are trying something similar but we are unable to disable the qgcs on herelink and we we run our app it says on herelink RC. It says "ERROR binding UDP port: the bound address is already in use. any help would be much appreciated.