Qt's support for different Linux platforms is extensive and mature.
To download and install Qt for Linux, follow the instructions on the Getting Started with Qt page.
The following configurations are supported.
||GCC 7, ICC|
|Red Hat Enterprise Linux 7.x||
||GCC as provided by Canonical, GCC 7.3.0|
||GCC as provided by Canonical, GCC 5.4.0|
||GCC 4.8, GCC 4.9, GCC 5, GCC 6, GCC 7|
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 environment is still straightforward.
Use the following commands to install the basic requirements for building Qt applications:
sudo apt-get install build-essential libgl1-mesa-dev
sudo yum groupinstall "C Development Tools and Libraries" sudo yum install mesa-libGL-devel
sudo zypper install -t pattern devel_basis
You can also build Qt 5 from the source package and configure it according to your target platform. The source packages are obtained from http://www.qt.io/download/.
Below, you will find more information about building Qt from source.
The pages below covers specific issues and recommendations for creating Linux/X11 applications.
We invite you to explore the rest of Qt. We prepared overviews which help you decide which APIs to use and our examples demonstrate how to use our API.
Qt's vibrant and active community site, http://qt.io houses a wiki, a forum, and additional learning guides and presentations.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.