QGroundControl v5.0 stable android error

Hello,

I am currently running QGroundControl v5.0 (stable release) with Qt 6.8.3.

Previously, I followed the official Qt guide for Android to successfully build and install the stable QGC v4.4 version with Qt 5.15.2 for both Android and Windows desktop.

However, since that version does not include the 3D View, I am now testing the newer QGC v5.0 stable release with Qt 6.8.3 to check if 3D View is supported.

Screenshot (681)

Screenshot (681)1920×1080 166 KB

Screenshot (682)

Screenshot (682)1920×1080 243 KB

I initially encountered multiple undefined symbol linker errors related to graphene, jpeg, and libpng while building QGroundControl.

To address this, I downloaded the required graphene and libpng libraries as ZIP files, extracted them, and manually added their include and lib directories to the CMakeLists.txt file. I also linked the static libraries (graphene-1.0, jpeg, and libpng.a) using target_link_libraries().

Could you please confirm if these manual changes are the reason I’m now experiencing the current linker errors? I suspect the issue might be related to architecture or compatibility mismatches.

Screenshot (668)

Screenshot (668)1920×1080 221 KB

Screenshot (669)

Screenshot (669)1920×1080 289 KB

FAILED: Release/libQGroundControl_armeabi-v7a.so
C:\Windows\system32\cmd.exe /C “cd . && C:\Users\anusha_bylla\AppData\Local\Android\Sdk\ndk\26.1.10909125\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=armv7-none-linux-androideabi23 --sysroot=C:/Users/anusha_bylla/AppData/Local/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/windows-x86_64/sysroot -fPIC -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security -fexceptions -frtti -stdlib=libc++ -O3 -DNDEBUG -Wl,–build-id=sha1 -Wl,–no-rosegment -Wl,–no-undefined-version -Wl,–fatal-warnings -Wl,–gc-sections -Qunused-arguments -Wl,–no-undefined -Wl,-Bsymbolic -Wl,-z,notext -shared -o Release\libQGroundControl_armeabi-v7a.so @CMakeFiles\QGroundControl.rsp && cd .”
ld.lld: error: undefined symbol: gst_proxy_control_binding_new

referenced by gstglvideomixer.c:439 (/home/nirbheek/projects/repos/cerbero.git/1.22/build/sources/android_universal/armv7/gst-plugins-base-1.0-1.22.12/_builddir/../ext/gl/gstglvideomixer.c:439)
gstglvideomixer.c.o:(_create_video_mixer_input) in archive cpm_modules/gstreamer/e8c30675f9e5398db84aa8cdc909f466ba7e8458/armv7/lib/gstreamer-1.0/libgstopengl.a
referenced by gstglsinkbin.c:267 (/home/nirbheek/projects/repos/cerbero.git/1.22/build/sources/android_universal/armv7/gst-plugins-base-1.0-1.22.12/_builddir/../ext/gl/gstglsinkbin.c:267)
gstglsinkbin.c.o:(gst_gl_sink_bin_init) in archive cpm_modules/gstreamer/e8c30675f9e5398db84aa8cdc909f466ba7e8458/armv7/lib/gstreamer-1.0/libgstopengl.a
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
09:51:14: The process “C:\Program Files\CMake\bin\cmake.exe” exited with code 1.
09:51:14: Error while building/deploying project QGroundControl (kit: Android Qt 6.8.3 Clang armeabi-v7a)
09:51:14: When executing step “Build”
09:51:14: Elapsed time: 00:08.

@bylla_anusha QGroundControl v5.0 (stable release) with Qt 6.8.3. i am getting error when build this project version please can you help me for this

I’m happy to try helping, but I’m still learning this myself. I mainly just followed the QGC documentation.

I am working on the QGCs Stable version 5.0 and Qt 6.8.3 and you are developing this so please help me I am facing below error. that is attached to the image

This is the same problem/error I got before. I made the same mistake, and I think you might be doing the same thing. In the Video Streaming / GStreamer section of the docs, there’s a link with instructions you need to follow for Android. You have to enable that part before building. After I did that, the error was gone. Hope that helps!

@bylla_anusha which docs I don’t know please can you send me the link or anything related to this.

I’m a bit confused—since the QGC docs are the main guide, how were you able to do all the previous steps until now? I followed the QGC documentation for everything.

@bylla_anusha Chatgpt and Grok only I am not followed docs
can you send me the link which docs you followed.

I followed this documentation, and it gives the solution without any errors:
https://docs.qgroundcontrol.com/Stable_V5.0/en/qgc-dev-guide/getting_started/
You can follow it too.

@bylla_anusha Thank You for this
Its working now.

Good to know it’s resolved. Feel free to reach out if you need further assistance.

Sure I will reach you

Great! Talk to you soon then. By the way, may I know where you’re from?

I am from Mumbai and You

Hii,
I am from hyderabad

@bylla_anusha you working anywhere.