Qt安装
Qt的安装有两种方法,一种是编译源码,一种是使用安装包。本着少折腾的原则,我选用后一种安装方式。
在网上下载Qt的安装包,有online安装和offline安装。online的太慢了所以选择offline的。浏览器下载太慢了,所以Windows下下好了再到Linxu下安装。
运行安装文件就好了,可能你需要更改一下这个文件的权限:
chmod u+x XXXXXXX.run
Qt配置
不像Windows下安装那样,装好了就可以用。Linux下的安装还需要额外的操作。
在qt.io找到了安装说明:
The Qt installers for Linux assume that a C++ compiler, debugger, make, and other development tools are provided by the host operating system. In addition, building graphical Qt applications requires OpenGL libraries and headers installed. Most Linux distributions do not install all of these by default, but setting up a development environme