下载https://download.qt.io/archive/qt/5.15/5.15.2/single/ qt-everywhere-src-5.15.2.tar.xz
https://download.qt.io/archive/qt/5.15/5.15.2/single/qt-everywhere-src-5.15.2.tar.xz
auto.sh
#!/bin/sh
./configure \
-prefix /home/yoooola/WorkSpace/qt5-rk3566 \
-confirm-license \
-opensource \
-release \
-make libs \
-xplatform linux-aarch64-gnu-g++ \
-pch \
-qt-libjpeg \
-qt-libpng \
-qt-zlib \
-opengl es2 \
-eglfs \
-no-sse2 \
-no-openssl \
-no-cups \
-no-glib \
-no-dbus \
-no-separate-debug-info \
其他组件安装
组件 | 所需包 | RK3566 特定要求 |
---|---|---|
OpenGL ES | libgles2 | Mali-G52 GPU 驱动 |
EGL | libegl | Rockchip 专用 EGL 实现 |
GBM | libgbm | KMS/DRM 支持 |
DRM | libdrm | 显示控制 |
OpenGL ES 2 安装
sudo apt-get update
sudo apt-get install gcc git bison python gperf pkg-config gdb-multiarch
sudo apt install build-essential