开发板套件基本上到手是开箱即用
内部预置出厂固件是带ubuntu的roofs,联网后可以直接apt安装ubuntu生态软件。ssh也是内部预置好配置,直接可以连接输入密码登录。
免密登录
虚拟机环境
docker编译环境
./run.sh
搭建Qt编译环境
SET(MYSYSROOT "/mnt/")
set(CMAKE_C_COMPILER "arm-linux-gnueabihf-gcc")
set(CMAKE_CXX_COMPILER "arm-linux-gnueabihf-g++")
set(CMAKE_SYSROOT ${MYSYSROOT})
set(CMAKE_FIND_ROOT_PATH ${MYSYSROOT})
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
set(QT5_INC_PATH_MY /mnt/usr/include/qt5)
include_directories(
${QT5_INC_PATH_MY}/
${QT5_INC_PATH_MY}/QtWidgets
${QT5_INC_PATH_MY}/QtCore
${QT5_INC_PATH_MY}/QtGui
)
set(Qt5_DIR /mnt/usr/lib/lib/cmake/Qt5/Qt5Config.cmake)
find_package(Qt5 REQUIRED COMPONENTS Core Gui Widgets Network)
编译
测试
更多回帖