Qt4.8.7添加Serialport库
1. 下载Serialport源码
git clone git://code.qt.io/qt/qtserialport.git
2.切换到4版本
git checkout qt4-dev
3.编译安装
打开源码工程,依次找到Projects->(Your Kit)->Build->Build Steps,添加编译步骤make install,然后编译工程。
git clone git://code.qt.io/qt/qtserialport.git
git checkout qt4-dev
打开源码工程,依次找到Projects->(Your Kit)->Build->Build Steps,添加编译步骤make install,然后编译工程。