文档章节

Welcome to Qt 5

Amamatthew
 Amamatthew
发布于 2014/06/13 18:13
字数 806
阅读 28
收藏 0
点赞 0
评论 0


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:
http://qt-project.org

Be sure to check out the release notes, which will list any known
problems or limitations of this version:
http://qt-project.org/wiki/Category:Release


Overview
--------

You can use the Qt 5 installation program to install the following components:

- Qt libraries, prebuilt for a particular development platform (operating system
  and compiler)
- Qt Creator integrated development environment (IDE)
- Basic development tools, prebuilt for a particular development platform
- Documentation
- Qt in source code form (needed only if you want to build the framework and
  tools yourself)

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
so on).


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
components.


Directory Structure
-------------------

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.
For example:

- 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:

   http://qt-project.org/doc/qtcreator/creator-project-qmake.html


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
<install_dir>/Examples.

Building Qt 5 from Source
-------------------------

See http://qt-project.org/wiki/Building_Qt_5_from_Git
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
Project.

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:

- http://qt-project.org/resources/getting_started
- http://qt-project.org/doc/
- http://qt-project.org


We hope you will enjoy using Qt!

- The Qt developers @ qt-project.org

© 著作权归作者所有

共有 人打赏支持
Amamatthew
粉丝 68
博文 1050
码字总数 76443
作品 0
厦门
后端工程师
统一的音乐服务,消除版权壁垒--Project Israfil

Israfil |关于|当前进度|开发日志|下载软件|编译|参与项目|编译状态|版权|协议| LER0ever Project Israfil Provide Unified Music Service for users in China. 尽可能解决因为独家版权导致听...

LER0ever
2016/06/14
538
0
lins05/seafile-client

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......

lins05
2014/03/06
0
0
RedisDesktopManager 0.8.0 RC2 发布

RedisDesktopManager 0.8.0 RC2 发布,更新内容如下: 提升: Improved behaviour of loading database list #3417, #3429 and #28 修复: Fixed issues in config migration (from XML to JSO......

oschina
2015/08/13
1K
7
Redis Desktop Manager 0.8.1 发布

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......

oschina
2015/10/24
2.6K
6
Calamares 2.4.5 发布,分布-独立的程序安装框架

Calamares 2.4.5 发布了。Calamares 是 分布-独立的程序安装框架,使用 Qt5,C++ 11,Boost.Python,KDE Frameworks 5 和 KDE 分区管理器构建。 新版本值得关注的更新如下: fixed a path h...

两味真火
2016/11/27
671
0
Razor-qt:一个轻巧快捷的桌面环境

Gtk+ 一手有GNOME,另一手有XFce。相反,Qt只有KDE在手——如果你的船浮不起KDE,但你又想要一个Qt桌面,你将没有一个轻量的、精简的选择。不过你很幸运,因为Razor-qt——一个轻巧、简单的Q...

xyxzfj
2011/12/21
0
0
乱谈Qt程序之i18n的实现(从C++到Qt)

嘿嘿,本文只是试图从纯C++的角度告诉你 Qt 的国际化是到底是怎么一回事(注:本文只看一个点,不看面)。而不会一步一步告诉你Qt的国际化/本地化怎么用(这些东西在Qt Manual、论坛 以及 相关书...

晨曦之光
2012/05/08
245
0
【转载】4412开发板嵌入式QtE应用跨平台移植

本文转自迅为iTOP-4412开发板实战教程书籍:http://topeetboard.com 本文介绍如何在Ubuntu运行helloworld例程以及在开发板上运行helloworld例程。 Ubuntu上运行helloworld 开启Qt Creator之后...

歌之王子殿下
2016/08/05
84
0
ubuntu构建Qt测试QtWayland

默认qt不含QtWayland,需要我们自己编译 一般构建 按照 https://wiki.qt.io/BuildingQt5fromGit https://wiki.qt.io/QtWayland 安装环境依赖 参考配置脚本和 http://doc.qt.io/qt-5/configur...

心翔
2016/06/22
58
0
UI 自动化--PythonUIAutomation4Windows

使用Python封装Windows UIAutomation API,支持MFC,Windows Forms,WPF,Metro,Qt,Firefox等程序的UI自动化,使得编写UI自动化脚本非常容易,支持平台Windows 7/8/8.1/10。 代码原理介绍 示例代...

yinkaisheng
2016/01/11
1K
0

没有更多内容

加载失败,请刷新页面

加载更多

下一页

代码生成利器:IDEA 强大的 Live Templates

代码生成利器:IDEA 强大的 Live Templates

qwfys
24分钟前
1
0
spring boot使用通用mapper(tk.mapper) ,id自增和回显等问题

最近项目使用到tk.mapper设置id自增,数据库是mysql。在使用通用mapper主键生成过程中有一些问题,在总结一下。 1、UUID生成方式-字符串主键 在主键上增加注解 @Id @GeneratedValue...

北岩
28分钟前
1
0
告警系统邮件引擎、运行告警系统

告警系统邮件引擎 cd mail vim mail.py #!/usr/bin/env python#-*- coding: UTF-8 -*-import os,sysreload(sys)sys.setdefaultencoding('utf8')import getoptimport smtplibfr......

Zhouliang6
30分钟前
0
0
日常运维--rsync同步工具

rsync命令是一个远程数据同步工具,可通过LAN/WAN快速同步多台主机间的文件。rsync使用所谓的“rsync算法”来使本地和远程两个主机之间的文件达到同步,这个算法只传送两个文件的不同部分,而...

chencheng-linux
35分钟前
1
0
Java工具类—随机数

Java中常用的生成随机数有Math.random()方法及java.util.Random类.但他们生成的随机数都是伪随机的. Math.radom()方法 在jdk1.8的Math类中可以看到,Math.random()方法实际上就是调用Random类...

PrivateO2
47分钟前
1
0
关于java内存模型、并发编程的好文

Java并发编程:volatile关键字解析    volatile这个关键字可能很多朋友都听说过,或许也都用过。在Java 5之前,它是一个备受争议的关键字,因为在程序中使用它往往会导致出人意料的结果。在...

DannyCoder
昨天
0
0
dubbo @Reference retries 重试次数 一个坑

在代码一中设置 成retries=0,也就是调用超时不用重试,结果DEBUG的时候总是重试,不是0吗,0就不用重试啊。为什么还是调用了多次呢? 结果在网上看到 这篇文章才明白 https://www.cnblogs....

奋斗的小牛
昨天
1
0
数据结构与算法3

要抓紧喽~~~~~~~放羊的孩纸回来喽 LowArray类和LowArrayApp类 程序将一个普通的Java数组封装在LowArray类中。类中的数组隐藏了起来,它是私有的,所以只有类自己的方法才能访问他。 LowArray...

沉迷于编程的小菜菜
昨天
0
0
spring boot应用测试框架介绍

一、spring boot应用测试存在的问题 官方提供的测试框架spring-boot-test-starter,虽然提供了很多功能(junit、spring test、assertj、hamcrest、mockito、jsonassert、jsonpath),但是在数...

yangjianzhou
昨天
1
0
rsync工具介绍/rsync通过ssh同步

rsync工具介绍 数据备份是必不可少,在Linux系统下数据备份的工具很多,其中重点介绍就是rsync工具,rsync不仅可以远程同步数据,还可以本地同步数据,且不会覆盖以前的数据在已经存在的数据...

Hi_Yolks
昨天
2
0

没有更多内容

加载失败,请刷新页面

加载更多

下一页

返回顶部
顶部