怎么样学好Qt?

来源:互联网 发布:去哪学软件开发 编辑:程序博客网 时间:2024/04/29 22:11

How to Learn Qt

We assume that you already know C++.
The best way to learn Qt is to read the official Qt book, C++ GUI Programming with Qt 3 (ISBN 0-13-124072-2). This book is also available online (PDF, 21.8 MB). This book provides comprehensive coverage of Qt programming all the way from "Hello Qt" to advanced features like multithreading, 2D and 3D graphics, networking, and XML. The book covers Qt 3; a Qt 4 version of the book is in the works. See Qt Programming Books for a complete list of Qt books, including translations.
If you want to program purely in C++, designing your interfaces in code without the aid of any design tools, read the tutorial. The tutorial is designed to get you into Qt programming, with the emphasis on working code rather than being a tour of features.
If you want to design your user interfaces using a design tool, then read at least the first few chapters of the Qt Designer manual.
By now you'll have produced some small working applications and have a broad feel for Qt programming. You could start work on your own projects straight away, but we recommend reading a couple of key overviews to deepen your understanding of Qt: the Qt Object Model and Signals and Slots.
At this point, we recommend looking at the overviews and reading those that are relevant to your projects. You may also find it useful to browse the source code of the examples that have things in common with your projects. You can also read Qt's source code since this is supplied.
If you run the qtdemo application, you'll see many of Qt's widgets in action.
Qt comes with extensive documentation, with hypertext cross-references throughout, so you can easily click your way to whatever interests you. The part of the documentation that you'll probably use the most is the API Reference. Each link provides a different way of navigating the API Reference; try them all to see which work best for you. You might also like to try Qt Assistant: this tool is supplied with Qt and provides access to the entire Qt API, and it provides a full text search facility. There are also a growing number of Qt books.
Good luck, and have fun!


怎么样学好Qt?

     首先,我假定你已经掌握c++。
学习qt最好的方法是阅读 C++ GUI Programming with Qt 3(qt官方书籍),这本书也可以在线得到,网址http://phptr.com/content/images/0131240722/downloads/blanchette_book.pdf
这本书提供了全面的qt编程知识,从简单的“hello world”到高级特性“multithreading,
2D and 3D graphics, networking, and XML”都包含在其中。这本书适合Qt 3版本,Qt 4版本还在编写中。请看QtProgramming Books完整目录
(http://www.trolltech.com/developer/books.html),包括译本,


如果你只用c++在代码中设计接口,而不用任何帮助工具,那么请看这本Qt指南,路径在doc文件夹下(..doc\html\tutorial.html)这个指南是用来帮助你编程的, 而不仅仅只是介绍特性的
.
如果你想用设计工具来设计你的接口,那么你至少要读Qt Designer manual的前几章
(.../doc/html/designer-manual.html.)


到现在你已经有编程所有的应用软件和对qt编程有一点大概的了解. 本应该马上开始你的项目,但是在这之前,我还是推荐你深刻的理解一下"Qt Object Model and Signals and Slots"这两个qt编程重点.


在这时,我推荐你看看(…/doc/html/overviews.html)与你项目有关的内容.你也可能发现浏览和你项目有共同之处的源代码很有用,你也可以阅读到qt的源代码,因为它被提供了


如果你运行了qt Demo中的代码,你就可以看到许多Qt的widgets.


Qt 带有广泛的超文本交叉文档,可以很容易点击你感兴趣的,文档的API reference是使用最多的部分.每个不同链接路径都提供了不同的API,试着看看那个对于你的工作最合适,你可能喜欢用 Qt Assistant :这是一个能够访问全部qt API的工具,它提供了全名查询功能,qt书的数量也在增加.
祝你好运与愉快!


首先,我假定你已经掌握c++。
学习qt最好的方法是阅读 C++ GUI Programming with Qt 3(qt官方书籍),这本书也可以在线得到,网址http://phptr.com/content/images/0131240722/downloads/blanchette_book.pdf 这本书提供了全面的qt编程知识,从简单的“hello world”到高级特性“multithreading,
2D and 3D graphics, networking, and XML”都包含在其中。这本书适合Qt 3版本,Qt 4版本还在编写中。请看QtProgramming Books完整目录
(http://www.trolltech.com/developer/books.html),包括译本,

如果你只用c++在代码中设计接口,而不用任何帮助工具,那么请看这本Qt指南,路径在doc文件夹下(..doc\html\tutorial.html)这个指南是用来帮助你编程的, 而不仅仅只是介绍特性的
.
如果你想用设计工具来设计你的接口,那么你至少要读Qt Designer manual的前几章
(.../doc/html/designer-manual.html.)


到现在你已经有编程所有的应用软件和对qt编程有一点大概的了解. 本应该马上开始你的项目,但是在这之前,我还是推荐你深刻的理解一下"Qt Object Model and Signals and Slots"这两个qt编程重点.


在这时,我推荐你看看(…/doc/html/overviews.html)与你项目有关的内容.你也可能发现浏览和你项目有共同之处的源代码很有用,你也可以阅读到qt的源代码,因为它被提供了


如果你运行了qt Demo中的代码,你就可以看到许多Qt的widgets.


Qt 带有广泛的超文本交叉文档,可以很容易点击你感兴趣的,文档的API reference是使用最多的部分.每个不同链接路径都提供了不同的API,试着看看那个对于你的工作最合适,你可能喜欢用 Qt Assistant :这是一个能够访问全部qt API的工具,它提供了全名查询功能,qt书的数量也在增加.
 祝你好运与愉快!


原创粉丝点击