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

本文详细介绍了如何利用QML进行Web应用开发,包括四种主要的安装工具:QtSDK、QtCreator、Qtbinarypackage和Qtsourcecodepackages。文章强调了QtSDK作为最全面的选择,并通过实例展示了例子与模板的区别,即例子更侧重性能,而模板则更加复杂,集成了Qt的众多特性。此外,提供了多种例子,如计算器应用、图片查看器及基本画图等,以便读者快速上手。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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小部件库提供了大量的不同平台风格的小部件


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

计算器

应用

图片查看器

基本画图

(待续)

转载于:https://www.cnblogs.com/liq07lzucn/p/4471680.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值