繁体   English   中英

交叉编译树莓派3的QtModules

[英]Cross compile QtModules for raspberry pi 3

在按照https://wiki.qt.io/RaspberryPi2EGLFS#Step_by_step指南成功编译了qtbase之后,我需要在Ubuntu x64上交叉编译pi cm3的QSerialPort模块和QtChart模块。

在同一指南中,还要求以下列方式编译其他模块:

git clone git://code.qt.io/qt/<qt-module>.git -b <qt-version>
cd <qt-module>

~/raspi/qt5/bin/qmake -r
make
make install

我尝试了这种方法

git clone git://code.qt.io/qt/qtserialport.git
cd qtserialPort

但是在做

~/raspi/qt5/bin/qmake -r

我得到错误

Project MESSAGE: cmake executable not found. Not running CMake unit tests

如何解决错误?

在QtSerialPort存储库中查看此文件 ,似乎与CMake的CTest框架进行了某种集成。 因此,要摆脱此消息,我想您可以尝试安装CMake:

sudo apt-get install cmake

但是,我不确定这是否真的是一个错误(因为它说Project MESSAGE它可能只是提供信息,可以忽略)。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM