Qt的在线安装包
https://download.qt.io/official_releases/online_installers/
安装前准备工作
(1)如果是 Debian/Ubuntu/Deepin (apt-get) 系列操作系统,执行命令:
sudo apt-get install build-essential libgl1-mesa-dev
(2)如果是 Fedora/RHEL/CentOS (yum) 系列操作系统,执行命令:
sudo yum groupinstall "C Development Tools and Libraries"
sudo yum install mesa-libGL-devel
(3)如果是 openSUSE (zypper) 系列操作系统,执行命令:
sudo zypper install -t pattern devel_basis
根据不同的操作系统执行相应的命令,完成安装后就可以继续下面的安装了。
Linux安装过程中出现问题
Problem:
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
Aborted (core dumped)
Solution:
sudo apt-get install libxcb-xinerama0