赞
踩
sudo apt-get update
sudo apt-get upgrade
https://download.qt.io/archive/qt/
chmod +x qt-opensource-linux-x64-5.12.10.run
- export QT_DEBUG_PLUGINS=1
- export PATH="/home/userName/Qt5.12.10/Tools/QtCreator/bin:$PATH"
- export PATH="/home/userName/Qt5.12.10/5.12.10/gcc_64:$PATH"
立即生效 sudo source ~/.bashrc 或者 sudo source /etc/profile
或重启生效
- sudo apt-get install gcc g++
- sudo apt-get install cmake
- sudo apt-get install make
- sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev
- sudo apt-get install libxcb-xinerama0
1) qt.qpa.plugin:Could not load the Qt platform plugin “xcb“
- cd /home/userName/Qt5.12.10/Tools/QtCreator/lib/Qt/plugins/platforms/
- ldd libqxcb.so
1) 使用到硬件的, 注意权限;
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。