Qt applications and cross-compilation

Hi all,

I am currently trying to port an existing Qt application from a NanoPi to the ROCKPi4 platform. So far, I am using Debian and managed to install QtCreator and Qt and get the application running. Now, I’d like to get rid of some errors that occur when starting the program:

libGL error: MESA-LOADER: failed to retrieve device information
libGL error: unable to load driver: rockchip_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: rockchip
libGL error: MESA-LOADER: failed to retrieve device information
libGL error: unable to load driver: rockchip_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: rockchip

Does anyone know how to fix these errors on the Rock PI 4?

Furthermore, did anyone ever get to run cross-compilation for Rock PI? I tried to follow some Raspberry tutorials and tweak them here and there but I didn’t manage to build Qt for the Rock.

Thanks in advance.

Can you provide me the program? I want to reproduce that. and try to fix that.