@fulltopic See https://doc.qt.io/qt-5/macos.html#architectures
Qt 5.15 is available as binary for Mac arm64 (via official installer). Just install XCode and Qt and you can build for Apple Silicon.
If anyone interested, the reason behind that error is that you apparently cannot run unsigned apps on M-chips: https://github.com/orgs/Homebrew/discussions/3088.
To fix this just self-sign the app bundle:
sudo codesign --force --deep -s - toolbox.app
@JKSH Thank you. I had hoped that there was a simpler way I didn't know about, maybe twerk some configure options and it'll enable and build xcb... But if there's not there's not, I'll just cross compile xcb as you and Christ both suggested.
Sorry folks, the question was vague and the begining of a development...
Apparently to make Qt Quick Scene Graph work on an embedded system displaying GUI on the frame buffer, we need to recompile Qt on Yocto, and provide fake/dummy libraries ligEGL.so and libGLES.so
Obviously it will be rendered using software, as there is no hardware graphic support in that case, but it still needs "empty" libGLES.so to do so.
...
I fixed it! My qmake.conf was correct but I was missing a configuration option. Now my configuration looks lit this:
~/qt-everywhere-src-5.11.2//configure -opensource -confirm-license -release -device stm32mp1 -device-option CROSS_COMPILE=~/gcc-linaro-7.4.1-2019.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -sysroot ~/STM32MPU_workspace/STM32MP15-Ecosystem-v1.0.0/Developer-Package/SDK/sysroots/cortexa7t2hf-neon-vfpv4-openstlinux_weston-linux-gnueabi -skip qtwebengine -prefix /usr/local/Qt-5.11.2-arm -nomake examples -nomake tests -opengl es2