QT---Compilation environment and development process

Source: Internet
Author: User
Compilation environment and development process

There are two kinds of IDE that can be used to develop QT, one is to use the VS + qt plugin, the other is to use the Qtcreator tool. The former is Microsoft's tools, with more easy to use, the disadvantage is that the signal slot support is not very good, need to hand-written, not automatically generated, there may be a Chinese encoding problem. The latter is the official QT IDE, smart hints and debugging function than vs powerful, but is a cross-platform IDE, its Qtdesigner design UI interface operation is more convenient, and because it is the official QT IDE, encoding and other support is better, the integration of Qt's help document. I have to say that Qt's help documentation is very good, and it's more convenient to integrate into the qtcreator environment.

I developed the use of the Qtcreator development, at present, in addition to debugging function than vs difference, the other used more handy, qtcreator is cross-platform, Ubuntu can also be used, open after the interface as follows:

The following is a general introduction to the various features of the Qtcreator interface:

We set up a sample project, choose "File"-"New file or Project"-"Application"-"QT Widgets application" After selecting the default settings, according to the prompt, we get a project, our UI is a Qmainwindow-based class, menu bar, status bar is provided by default. If you don't need these, you can build a Qwidget-based UI class, as shown in the figure:
Back to Top

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.