安装qt相关库:
sudo apt install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools qt5-default
安装qt-creater:
sudo apt install qtcreator
添加环境变量:
vim ~/.bashrc # 添加 export QT_SELECT=qt5 source ~/.bashrc
查看qmake版本:
qmake -v
安装qt相关库:
sudo apt install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools qt5-default
安装qt-creater:
sudo apt install qtcreator
添加环境变量:
vim ~/.bashrc # 添加 export QT_SELECT=qt5 source ~/.bashrc
查看qmake版本:
qmake -v