

If you are unsure what architecture your system is running, you can run the Linux command arch and examine the output. The file n is the 32-bit installer and qt-unified-linux-圆n is the 64-bit version. You need to select either the 32-bit or 64-bit installer, depending on the architecture of your system. You can directly download the latest installer from The first step is to download the online installer. Qt Creator will make use of these if present and you can install them any time after installing Qt Creator, if desired. You will typically also want to install the gdb debugger (packaged as gdb on Ubuntu) and possibly some optional tools like git, clang, etc. This is the bare minimum needed for software development.

$ sudo apt-get install build-essential libgl1-mesa-dev In addition, building graphical Qt applications requires OpenGL libraries and headers installed. On Ubuntu and other Debian-based Linux systems you can get OpenGL and the minimal set of development tools by installing the packages libgl1-mesa-dev and build-essential, i.e. You will need to separately install the GNU gcc compiler, make program, and other packages for software development. The Qt installer for Linux does not include a C++ compiler. Using the Qt online installer as I describe here will allow you to install the latest Qt release or one or more older releases, as well as install optional modules that may not be available as packages for your Linux distribution. On Ubuntu Linux, for example, you can install Qt Creator using the command:Ī downside of this approach is that the versions of Qt and Creator packaged for your Linux distribution may not be the latest versions, and you are typically only offered one particular Qt version. This is often the easiest way to set up a Qt development environment. It should be noted that many Linux distributions already have Qt and Qt Creator available as standard distribution packages. As in the blog for Windows, we will use Qt’s online installer. The procedure will be similar with other Linux distributions. For this example I will assume you want to install Qt 5.6.0 or 5.7.0 on a recent release of Ubuntu Desktop Linux.
