Use the wget command to download the required source code.
> mkdir ~/qt-downloads > cd ~/qt-downloads > wget http://download.qt-project.org/official_releases/qtcreator/2.8/2.8.1/qt-creator-linux-x86-opensource-2.8.1.run
qt-creator-linux-x86-opensource-2.8.1.run is downloaded to the ~/qt-downloads path.
Modify file permissions
Modify the permissions of the file so that it has execution permissions.
> chmod u+x qt-creator-linux-x86-opensource-2.8.1.run
Installation
Execute the bin file to start installing Qt Create
> sudo ./qt-creator-linux-x86-opensource-2.8.1.run
In the meantime, the installation wizard will ask for the installation path. I installed the file to the /usr/local/ directory Down.
Recommended tutorial: centos tutorial
The above is the detailed content of How to install qt on centos. For more information, please follow other related articles on the PHP Chinese website!