【Qt】在Ubuntu16.04中安装QSerialPort模块
生活随笔
收集整理的這篇文章主要介紹了
【Qt】在Ubuntu16.04中安装QSerialPort模块
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
1、問題描述
在pro中添加:QT += serialport
編譯時報錯:Project ERROR Unknown module(s) in QT:serialport
2、解決方法
安裝QSerialPort模塊庫
sudo apt-get install libqt5serialport5-dev
總結
以上是生活随笔為你收集整理的【Qt】在Ubuntu16.04中安装QSerialPort模块的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 【QT】Qt正则表达式的使用:使用QRe
- 下一篇: 【SVN】在阿里云上创建svn服务器