Install QtSDK in Oracle Linux 6.2 (RHEL6)

Source: Internet
Author: User


Oracle Linux 6.2 (RHEL6) install QtSDK my system for Oracle Linux 6.2 (compatible with RHEL 6.2) to qt.nokia.com download the latest QtSdk-offline-linux-x86-v1.2.1.run www.2cto.com # chmod x + u QtSdk-offline-linux-x86-v1.2.1.run #./QtSdk-offline-linux-x86-v1.2.1.run
Everything is installed by default. After installation, modify the environment variables and change the profile or bashrc under/etc. Open it in the vi editor. # vi/etc/profile (note: my profile is modified. You can also modify bashrc or create an sh file by yourself) and then add the following content at the end: QTDIR =/opt/QtSDK/Desktop/Qt/4.8.1/gccPATH = $ QTDIR/bin: $ PATH www.2cto.com LD_LIBRARY_PATH = $ QTDIR/lib: $ LD_LIBRARY_PATHexport qtdir path LD_LIBRARY_PATH then, exit vi editor with ESC colon wq # source/etc/profile to make environment variables take effect immediately. Run the following command to check whether the variables take effect:
# Qmake-v www.2cto.com my output is: QMake version 2.01 aUsing Qt version 4.8.1 in/opt/QtSDK/Desktop/Qt/4.8.1/gcc/lib

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.