Welcome to Qt 5
Qt is a cross-platform application and user interface framework. It
consists of a number of software libraries and development tools.
Qt is developed as an open source project. It is available under both
open source and commercial licenses.
All information on Qt is available on the Qt Developer Network:
Be sure to check out the release notes, which will list any known
problems or limitations of this version:
You can use the Qt 5 installation program to install the following components:
- Qt libraries, prebuilt for a particular development platform (operating system
- Qt Creator integrated development environment (IDE)
- Basic development tools, prebuilt for a particular development platform
- Qt in source code form (needed only if you want to build the framework and
Install Qt libraries to develop or run applications that need the Qt runtimes or
to try out example applications built with Qt.
Qt Creator is designed to make Qt development easier, but you can also use a 3rd
party IDE (such as MS Visual Studio), or just an editor and command line, in
addition to basic Qt development tools (Qt Designer, Qt Assistant, qmlscene, and
Installing Qt 5
You can download Qt 5 from http://qt-project.org/downloads. The site provides
download links for all supported development platforms.
Start the installation program like any executable on the development platform.
On Linux, you might first have to make the installation program executable.
Select the components that you want to install and follow the instructions of
the installation program to complete the installation.
Use the Maintenance Tool under <install_dir> to remove all installed
The default top-level installation directory is the directory "Qt<version>" in
your home directory, but you can specify another directory (<install_dir>). On
Windows, however, the default top-level installation directory is "C:\Qt\Qt<version>".
Each Qt version is installed in the <install_dir>/<version> directory. This directory
contains subdirectories for the Qt libraries (<compiler>) and sources (Src).
Starting Development Tools
You can start Qt Creator directly after the installation by selecting the option
on the last page of the installation program. You can start most of
the development tools, such as GUI designers, compilers, and debuggers
directly from Qt Creator. You can also access the installed documentation and
example applications from Qt Creator.
The development tools are located in the directory
<install_dir>/<version>/<compiler>/bin. You can run them from Qt Creator or from
the command line. You can also launch some of them as standalone applications.
- Qt Assistant, the Qt documentation reader
- Qt QML Scene, the viewer for Qt Quick 2 files
- Qt QML Viewer, the viewer for Qt Quick 1 files
- Qt Designer, the GUI designer for Qt widgets-based applications
You can use Qt Creator to develop with other Qt versions as well:
Running Example Applications
You can open most example applications in the Qt Creator Welcome mode to build
and run them. Additional examples can be opened by browsing
Building Qt 5 from Source
for instructions on building Qt from source.
Developing Qt Applications
To develop a Qt application, you need to set up a project. Qt Creator contains
wizards that guide you step-by-step through the project creation process. The
wizards prompt you to enter the settings needed for a particular type of project
and create the necessary files for you. To start, select File > New File or
The wizards create projects that use the Qt build tool, qmake. It is a
cross-platform system for build automation that helps simplify the build process
for development projects across different platforms. You can modify the build
and run settings for qmake projects in the Qt Creator Projects mode.
Qt Creator provides support for building, running, and deploying Qt applications
for different target platforms, or using different compilers, debuggers, or
Qt versions. Kits define the tools, device type and other settings to use when
building and running your project.
The Qt 5 installation program adds the installed Qt version
(<install_dir>/<version>/<compiler>/bin/qmake) to Qt Creator and creates a kit
that specifies the installed Qt version and compiler. To use the kit, add it for
your project in the Qt Creator Projects mode. Then select the kit in the Kit
selector before you build or run the project.
To compile C++ Qt applications by some other means, add
<install_dir>/<version>/<compiler>/include to your build tool's search path
for include files, and <install_dir>/<version>/<compiler>/lib to the search
path for libraries.
Want to Know More?
Much more information is available at:
We hope you will enjoy using Qt!
- The Qt developers @ qt-project.org
Israfil |关于|当前进度|开发日志|下载软件|编译|参与项目|编译状态|版权|协议| LER0ever Project Israfil Provide Unified Music Service for users in China. 尽可能解决因为独家版权导致听...
seafile-client Seafile desktop client. BUILD Prerequisites Qt5 cmake libsearpc ccnet seafile INSTALL cmake .makemake install Qt 5.2 or higher is required Ubuntu users can instal......
RedisDesktopManager 0.8.0 RC2 发布，更新内容如下： 提升: Improved behaviour of loading database list #3417, #3429 and #28 修复: Fixed issues in config migration (from XML to JSO......
Redis Desktop Manager 0.8.1 发布，此版本主要是 bug 修复： Fix issue #3504: RDM runs with 100% CPU core utilization Fix issue #3503: Going from page 1 to page 2 in list blocks U......
Calamares 2.4.5 发布了。Calamares 是 分布-独立的程序安装框架，使用 Qt5，C++ 11，Boost.Python，KDE Frameworks 5 和 KDE 分区管理器构建。 新版本值得关注的更新如下： fixed a path h...
一个事故的故事 晚上睡的正香突然被电话吵醒，对面是开发焦急的声音：我们的程序在访问redis的时候读到了本应过期的key导致整个业务逻辑出了问题，需要马上解决。 看到这里你可能会想：这是不...
yum update -y gnutls 修复了GnuTLS 漏洞。更新到最新 gnutls.x86_64 0:2.12.23-22.el6 版本
构造选择器 Scrapy选择器是通过文本(Text)或 TextResponse 对象构造的 Selector 类的实例。 它根据输入类型自动选择最佳的解析规则（XML vs HTML）： >>> from scrapy.selector import Sele...