Linux version:
QT Uninstall:
1. Locate the installation location of QT First:
2. Then execute its following file Maintenancetool:
3. The graphical interface will then appear:
Uninstall complete.
Installing QT
: https://www.qt.io/download-open-source/
Download file: Qt-unified-linux-x64-2.0.3-1-online.run
Modify permissions and then execute
Graphical Interface boot installation appears
Installation Complete
If you have already installed the OpenGL library, you do not need the following command, otherwise run the following command to install the OpenGL library: sudo apt-get install freeglut3-dev;
But to run Qt, you only have to go to the installation directory:/media/hao/3b6b3418-c087-4836-a75d-6d7a6023e495/software/qt/tools/qtcreator/bin
And then./qtcreator. Very troublesome
So add qtcreator to the system environment variable
Vim/etc/profile
Add code
qtdir=/media/hao/3b6b3418-c087-4836-a75d-6d7a6023e495/software/qt/tools/48 path= $QTDIR/ manpath= $QTDIR/ ld_library_path= $QTDIR/51 export Qtdir MANPATH PATH Ld_library_path
Update environment variables
Source/etc/profile
This allows you to run QT directly from the command line:
[Email protected]:~$ qtcreator
Reference documentation: Linux under Install QT5.4.0 UBuntu14.04 Install and uninstall Qt5.3.1
Configuration installation under QT Linux