I. INTRODUCTION of QT
Qt is a cross-platform C + + graphical user Interface application Development framework developed by caused by parity technology in 1991. It can either develop GUI programs or be used to develop non-GUI programs, such as console tools and servers. QT is an object-oriented framework that uses special code generation extensions (called Meta Object Compiler, MOC) and some macros that are easy to extend and allow for component programming. In 2008, the technology was acquired by Nokia, and Qt became a programming language tool for Nokia. In 2012, QT was acquired by Digia. April 2014, cross-Platform integrated development environment QT Creator 3.1.0 officially released, to achieve full support for iOS, add plugins such as WINRT, Beautifier, discard gdb debugging support without Python interface, integrated with clang-C + + code module, and the Android support has been adjusted to achieve full support for iOS, Android, WP.
In general, QT is a cross-platform interface development framework, which makes it easy to develop interfaces.
Second, QT programming environment (Windows platform)
Qt:
http://www.qt.io/download-open-source/#section-2
According to their own environment selection download, installation is relatively simple, a variety of next step is possible.
QT provides an IDE called QT Creator, and if you use it, the QT environment is ready to install.
For many people who develop under Windows, VS is the main ide,qt that supports VS, and the only thing you need is a plug-in.
In the other downloads at the bottom of the link above. At present QT5 highest support to the VS2013.
After the plug-in is installed, the VS2013 menu bar will have a QT5 menu, such as
Click on the QT Options menu to set, click Add to add the relevant information according to the version:
After the setup is complete, the whole building is completed.
Third, testing
Create a new QT5 project (there will be QT5 projects option in the new project)
Hello World Code:
1#include <QtWidgets/QApplication>2#include <QLabel>3 intMainintargcChar*argv[])4 {5 qapplication A (argc, argv);6Qlabel *label =NewQlabel ("Hello QT");7Label->Show (); 8 returna.exec ();9}
Display effect:
QT notes (1)--QT Programming Environment Building