安装QT命令
sudo apt-get install qt5-default qtcreator -y
如果出现错误:unknow module webenginewidgets serialport
就需要安装
sudo apt-get install qtwebengine5-dev sudo apt-get install libqt5 serialport5-dev