Build the QT Development Environment & add git for version management: in Windows

Source: Internet
Author: User
Tags gtk windows download

[This article includes: cross-platform GUI development tool comparison, mainly the introduction and configuration of QT, the red part for the operation instructions, other content is complementary knowledge, if you are interested, see </BR> 22:29:12]

 

MFC has always been criticized, and the father of C ++ is not very polite. The design of MFC is not as good as that of the 1980s S. MFC can only develop WindowsProgramIs not in line with the trend of multiple platforms in the future. in addition, MFC is a toll-based tool. Although there are many vs attacks, there are so many free open-source tools available for us to choose from. It is not necessary to hang on the dead tree of MFC.

Common open-source products can be developed across platforms for free, including GTK +, wxwidget, and QT. if GTK + is too ugly on the internet, you will not consider it directly. wxwidget is a good tool, small and free, and many other advantages. Unfortunately, I have never been able to configure it successfully, reluctantly cut your foot ..... qt was originally a product of an independent company and was acquired by Nokia a few years ago. It not only supports Symbian GUI development, but also has great power in windows, Linux, and UNIX, and QT can make a very nice interface, if you have used Nokia's OVI desktop set, you will know. nokia also configured a complete SDK for Qt, which is very easy to use. it seems that Nokia regards Qt as a strategic product. Moreover, there is such a strong company backing up and there is no need to worry about the maintenance of QT. qt follows the lgpl Protocol and is suitable for commercial development.

There are two ways to build the QT Development Environment: 1. Download the qt sdk and install it. You can set up the environment variables at most. 2. Download the QT opensource package and use it with other ides. obviously, the first method is much more secure. qt SDK: http://qt.nokia.com/downloads-cn, In the qt sdk: Select for Windows for download in the complete development environment bar. The installation process is the same as that of other software. After installation, your QT development environment will be ready, the following is how to open QT creator to develop your first QT program. Here is a set of examples for Quick Start of QT.

The following is the GIT version control tool integrated to QT, git Official Website: http://git-scm.com/Windows download page has 4 options, download to git started with it. git is written by Linus and used for Linux kernel version management. It features high speed. it is widely used. Perl, andriod, including the above mentioned QT development process, uses Git for version control. you do not need to change any default settings during git installation, unless you do not want to change the default path ^. remember the installation path, open QT creator, and go to tools> git> Create repository. Here you can find the path of git.exe, that is, % git installation path %/bin /, for example, if you select the path D:/git during git installation, select D:/git/bin/here and click Select folder.

the QT development environment is indeed very simple, we almost don't need to do anything, and you don't need to compile the Source Code , which is much easier than wxwidget, now you can enter the world of QT ~

Related Article

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.