Qt如何学习(参考官方文档)

2023-02-12,,,,

Designers who are familiar with web development can start with QML

一共有四种安装工具

You have following options:

Qt SDK - one package with all the tools you need for the creation of applications for Symbian and Maemo in addition to desktop platforms such as Microsoft Windows, Mac OS X, and Linux.
Qt Creator - a cross-platform integrated development environment (IDE). Note, that the Qt Creator package does not contain the Qt framework itself. You can either configure it to use with a version of Qt already installed on your machine or download a new version of Qt separately.
Qt binary package - a ready-to-go installer for Mac, Linux and Windows containing a precompiled tool chain, libraries, include files, documentation, demos and examples.
Qt source code packages - Qt and Qt creator are available in source code as zip or tar archives as well as on the Public Qt Repository.

但是推荐使用Qt SDK,因为在这里面拥有所有的工具,最全面

发现新技术的办法最流行的办法是在例子中间徘徊One of the most popular ways of discovering new technologies is to walk through examples.

(上面是很经典的一句话)

例子和模板的区别

The main difference between examples and demos is that examples are smaller and more focused on one functionality whereas demos are complete, more complex applications using many Qt features.也就是说例子注重性能,而模板则是复杂,因为添加了Qt的诸多特效

大多数例子和模板都是编译好的了,可以直接运行,当然也可以在欢迎界面打开源代码工程,然后编译运行。直接运行可以直接体验Qt的特征。

Qt小部件库提供了大量的不同平台风格的小部件

如果是新手需要看看下面的例子

计算器

应用

图片查看器

基本画图

(待续)

Qt如何学习参考官方文档)的相关教程结束。

《Qt如何学习(参考官方文档).doc》

下载本文的Word格式文档,以方便收藏与打印。