Ubuntu Installation QT Development environment

Source: Internet
Author: User
Tags qt designer

One, the installation of Qt under Ubuntu

$ sudo apt-get install qt4-dev-tools qt4-doc qt4-qtconfig Qt4-demos

Note: The qt4-dev-tools contains tools such as QT Assistant and Qt linguist, so there is no need to install these two tools separately. Other, Qt4-doc is a Help document that contains detailed descriptions of each class library in Qt and a rich example program that can be used to open reading using the QT Assistant tool. Qt4-qtconfig is a dialog box that configures the QT environment, which is generally done by default and rarely necessary to change. Qt4-demos contains many executable files that can be run and source code. Qt4-designer is a designer used to design GUI interfaces.

Second, install the driver of MySQL connection

$ sudo apt-get install Libqt4-sql-mysql

Third, the installation of Third-party QWT Library

$ sudo apt-get install libqwt5-qt4 Libqwt5-qt4-dev

Note: After installing these, open QT Designer, you will find the left side of the widget list more "Qwt widget" this group;

IV. installation of integrated development environment Qdevelop

$ sudo apt-get install Qdevelop

Note: Not necessarily install, but in my personal sense, the use of Qdevelop to write code and compile, debug, using QT Designer design interface, development efficiency will be higher.

V. Completion

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.