
清空记录
历史记录
取消
清空记录
历史记录

(点击视频,1分钟解锁RK3506核心板,59元超高性价比方案)
Ubuntu SDK安装与环境搭建
$ md5sum rk3506-ubuntu22_qt5-sdk.tar.gz
$ sudo tar -zxvf rk3506-ubuntu22_qt5-sdk.tar.gz -C ./
$ cd ./rk3506-ubuntu22_qt5-sdk$ sudo ./install_sdk.sh$ ./env.sh$ source ~/.bashrc
搭建环境后,查看qmake版本和交叉编译工具链版本:
$ arm-none-linux-gnueabihf-gcc -vUsing built-in specs.COLLECT_GCC=arm-none-linux-gnueabihf-gccCOLLECT_LTO_WRAPPER=/home/industio/evb3506/arm-gnu-toolchain-11.3.rel1-x86_64-arm-none-linux-gnueabihf/bin/../libexec/gcc/arm-none-linux-gnueabihf/11.3.1/lto-wrapperTarget: arm-none-linux-gnueabihfConfigured with: /data/jenkins/workspace/GNU-toolchain/arm-11/src/gcc/configure --target=arm-none-linux-gnueabihf --prefix= --with-sysroot=/arm-none-linux-gnueabihf/libc --with-build-sysroot=/data/jenkins/workspace/GNU-toolchain/arm-11/build-arm-none-linux-gnueabihf/install//arm-none-linux-gnueabihf/libc --with-bugurl=https://bugs.linaro.org/ --enable-gnu-indirect-function --enable-shared --disable-libssp --disable-libmudflap --enable-checking=release --enable-languages=c,c++,fortran --with-gmp=/data/jenkins/workspace/GNU-toolchain/arm-11/build-arm-none-linux-gnueabihf/host-tools --with-mpfr=/data/jenkins/workspace/GNU-toolchain/arm-11/build-arm-none-linux-gnueabihf/host-tools --with-mpc=/data/jenkins/workspace/GNU-toolchain/arm-11/build-arm-none-linux-gnueabihf/host-tools --with-isl=/data/jenkins/workspace/GNU-toolchain/arm-11/build-arm-none-linux-gnueabihf/host-tools --with-arch=armv7-a --with-fpu=neon --with-float=hard --with-mode=thumb --with-arch=armv7-a --with-pkgversion='Arm GNU Toolchain 11.3.Rel1'Thread model: posixSupported LTO compression algorithms: zlibgcc version 11.3.1 20220712 (Arm GNU Toolchain 11.3.Rel1)$ qmake -vQMake version 3.1Using Qt version 5.15.8 in /opt/rk3506/rk3506_ubuntu22_5.15/ext/lib
Qt交叉编译
$ mkdir -p ./qt-demo && tar -xvf moveblocks.tar.gz -C ./qt-democd qt-demolsmain.cpp moveblocks.pro
$ qmake ./$ make$ make install$ lsmain.cpp Makefile moveblocks moveblocks.pro
Qt验证
$ adb push Z:\moveblocks /tmp
$ chmod a+x /tmp/moveblocks$ /tmp/moveblocks
开发板购买路径
