【发布时间】:2017-10-18 14:17:42
【问题描述】:
在按照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
如何修复错误?
【问题讨论】:
标签: c++ qt module raspberry-pi3