Name Last modified Size Metadata; Parent Directory - installersource/ 01-Mar-2019 10:33 - qt-creator-opensource-windows-x8664-4.8.2.exe. As in the blog for Windows, we will use Qt's online installer. It should be noted that many Linux distributions already have Qt and Qt Creator available as standard distribution packages. This is often the easiest way to set up a Qt development environment. On Ubuntu Linux, for example, you can install Qt Creator using the command.
Qt Creator allows you to have multiple versions of Qt installed on your development PC and use different versions to build your projects. For example, device manufacturers provide special Qt versions for developing applications for their devices.
Qt Creator automatically detects the Qt versions that are registered by your system or by the Qt Installer. To view detailed information for each Qt version, select it in the list and select Details in the Qt version for section.
To remove invalid Qt versions, select Clean Up.
You can link to a Qt that you installed using the Qt Maintenance Tool to automatically register the installed Qt versions. However, you cannot link to Qt versions that were installed by the system using some other package manager, such as your Linux distribution, brew on macOS, or Chocolatey on Windows, nor a self-built Qt. In those cases, select Add in the Qt Versions tab to add the Qt version manually, as instructed in Setting Up New Qt Versions.
To link to a Qt installation:
To remove the automatically detected Qt versions from the list, select Remove Link.
If a Qt version is still not listed in the Qt Versions tab under Auto-detected, you have to set it up manually, as described in the following section.
You specify the Qt version to use for each kit for building and running your projects in Tools > Options > Kits, as described in Specifying Kit Settings.
To add a Qt version:
To remove a Qt version that you added manually, select it in the Manual list and then select Remove.
By default, Qt Creator registers only the latest available version of the documentation for each installed Qt module.
To register the documentation sets of all installed Qt versions, choose All from the Register documentation list. To register no Qt documentation at all, choose None. The default behavior is Highest Version Only.
If Qt Creator detects problems in the installation of a Qt version, it displays warnings and errors beside the name of the Qt version in the list. Select the Qt version to see more information about the issue and suggestions for fixing it.
To determine whether a particular Qt version is installed correctly, Qt Creator calls qmake -query
and checks that the directories referenced in the output exist. When Qt Creator complains about the installation of a self-built Qt version, try running make install
in the build directory to actually install Qt into the configured location. If you installed Qt using the Qt Installer, run the Qt maintenance tool to check for updates or to reinstall the Qt version.
If your build of Qt is incomplete but you still want to use QMake as build system, you need to ensure the following minimum requirements to be able to use that setup with Qt Creator.
-query
command line argument.bin
and include
directories have to exist. Qt Creator fetches these directories by running qmake -query
.mkspecs
directory should be complete enough to parse .pro files.If your Qt version has no libQtCore.so
, Qt Creator is unable to detect the ABI.
© 2020 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.
This is a step-by-step procedure to install the latest official release of Qt Creator onto Ubuntu Linux PC. Qt Creator can be installed by “apt-get” command, however in that case you may not get the latest version. In this post we’ll use the online installer so that we can get the latest version.
For the reference, bellow are the latest version as of 6/2/2017.
– Qt Creator version : 4.3.0
– Ubuntu version : 16.04.02 (LTS)
Update (April 27, 2018):
My ubuntu got updated and I reinstalled Qt. The exact same steps still work. Now the versions are:
– Qt Creator 4.6.0
– Ubuntu 18.04 (LTS)
Prerequisites:
– 64-bit Ubuntu Installed PC
(I’m not sure why but I was not able to get the latest version when I was installing on 32-bit Ubuntu. So, in this post, I use 64-bit Ubuntu PC.)
Steps
1. Install required packages.
2. Download the online installer.
3. Add execute permission.
4. Run the installer.
5. Follow the wizard and complete the installation.
6. Launch Qt Creator.
Qt Creator should automatically configure compilers, debuggers, etc for the PC environment. Now you can run examples from “Welcome” tab or create your a new project from “File” > “New File or Project…”!
References
Getting Started With Qt and Qt Creator on Linux
http://www.ics.com/blog/getting-started-qt-and-qt-creator-linux
Online installer of Qt Creator official releases
http://download.qt.io/official_releases/online_installers