How to install Qt Creator on Ubuntu 18.04

Quick installation guide on AnsWiki.

This tutorial was done with the following software versions:

Install Qt Creator

sudo apt install build-essential
sudo apt install qtcreator

If you want Qt 5 to be the default Qt version to be used when using development binaries like qmake, install the following package:

sudo apt install qt5-default

Install documentation and examples

If Qt Creator is installed thanks to the Ubuntu Sofware Center or thanks to the synaptic package manager, documentation for Qt Creator is not installed. Hitting the F1 key will show you the following message : “No documentation available”. This can easily be solved by installing the Qt documentation:

sudo apt install qt5-doc

And eventually:

sudo apt install qt5-doc-html qtbase5-doc-html

If examples are still missing:

sudo apt install qtbase5-examples

Restart Qt Creator to make the documentation available.

See also

Last update : 11/23/2021