The installation manual under QTLinux-general Linux technology-Linux programming and kernel information. The following is a detailed description. Specific installation methods:
1. Download Qt 4.4.0 for X11 OpenSource.
2. Download The qt-x11-opensource-src-4.4.0.tar.gz file, we use the tar command to decompress it.
Tar zxvf qt-x11-opensource-src-4.4.0.tar.gz
3. Move the directory to the/usr/local directory, or the catalog directory to the/home directory. The following installation process is to move the directory to the/usr/local directory, change the name to qt. If you have not moved it, pay attention to the directory when setting it.
4. Modify the. bash_profile or. profile or/etc/profile file in the directory (you can use the vi editor or gedit) and add the following code:
5. log out of the user or source. bash_profile to make the configuration file take effect.
6. Go to the QT directory and start compiling.
./Configure
Enter yes to agree to the GPL/QPL protocol. You can also see this command./configure-thread on the network. To support multithreading, you should just tap these commands. (I don't know if the./configure-thread and./configure commands are repeated)
7. It takes an hour or two to start making.
Make
8. Start install. (If some manuals on the Internet do not have this step, the error "error while loading shared libraries: libQTDesignerComponents. 44. after I make install it, it will be OK .) This step takes a long time. It may take several minutes.
Make install
9. Go to the QT directory, enter the bin directory, and run./designer. You can see the graphic interface.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service