Developer Guides: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[[Category:Learning]] [[Category:Learning::Links_and_Material]]<br />[toc depth=&quot;2&amp;quot; align_right=&quot;yes&amp;quot;]
[[Category:Learning]] [[Category:Learning::Links_and_Material]]
[toc depth="2" align_right="yes"]


'''''NOTE:''' As of 2014-10-04, these guides are old and no longer maintained. Use the official examples instead:''<br />* &quot;List of Qt Examples&amp;quot;:http://doc.qt.io/qt-5/all-examples.html<br />* &quot;List of Qt Quick Examples&amp;quot;:http://doc.qt.io/qt-5/qtquick-codesamples.html
'''''NOTE:''' As of 2014-10-04, these guides are old and no longer maintained. Use the official examples instead:''
* "List of Qt Examples":http://doc.qt.io/qt-5/all-examples.html
* "List of Qt Quick Examples":http://doc.qt.io/qt-5/qtquick-codesamples.html


= Qt Developer Guides =
= Qt Developer Guides =
Line 9: Line 12:
== Help us help you ==
== Help us help you ==


We would appreciate any feedback or comments from you that can help us improve the content of these guides. To provide your feedback, create a bug on the 'Documentation' component in the &quot;Qt Bug Tracker&amp;quot;:http://bugreports.qt.io.
We would appreciate any feedback or comments from you that can help us improve the content of these guides. To provide your feedback, create a bug on the 'Documentation' component in the "Qt Bug Tracker":http://bugreports.qt.io.


If you have ideas or suggestions and would like to contribute to the guides, consider starting your work on the &quot;Learning Guides repository on Gitorius&amp;quot;:http://gitorious.org/qt-learning/learning-guides
If you have ideas or suggestions and would like to contribute to the guides, consider starting your work on the "Learning Guides repository on Gitorius":http://gitorious.org/qt-learning/learning-guides




Line 19: Line 22:
This tutorial explains the basics of developing applications with Qt Quick by providing a code walkthrough of complete applications. The tutorial extends the standard Qt Quick documentation provided in Qt and relies on it as a source of more detailed information about Qt Quick APIs and fundamental concepts.
This tutorial explains the basics of developing applications with Qt Quick by providing a code walkthrough of complete applications. The tutorial extends the standard Qt Quick documentation provided in Qt and relies on it as a source of more detailed information about Qt Quick APIs and fundamental concepts.


This tutorial is thought to provide in-depth content as a prerequisite for those of you who are new to Qt Quick. Even though it starts with the basics, you must be familiar with principles of programming to follow the guide. Basic knowledge of JavaScript is highly recommended.<br />After completing this tutorial, you should be able to write your own Qt Quick applications and start discovering more by reading advanced materials or analyzing the code of complex applications.
This tutorial is thought to provide in-depth content as a prerequisite for those of you who are new to Qt Quick. Even though it starts with the basics, you must be familiar with principles of programming to follow the guide. Basic knowledge of JavaScript is highly recommended.
After completing this tutorial, you should be able to write your own Qt Quick applications and start discovering more by reading advanced materials or analyzing the code of complex applications.


Download this guide in your preferred format:<br />&quot;ePub&amp;quot;:http://download.qt.io/learning/developerguides/qtquickappdevintro/QtQuickAppDevIntro.epub<br />&quot;PDF&amp;quot;:http://download.qt.io/learning/developerguides/qtquickappdevintro/QtQuickAppDevIntro.pdf<br />&quot;Qt Help&amp;quot;:http://download.qt.io/learning/developerguides/qtquickappdevintro/QtQuickAppDevIntro.qch
Download this guide in your preferred format:
"ePub":http://download.qt.io/learning/developerguides/qtquickappdevintro/QtQuickAppDevIntro.epub
"PDF":http://download.qt.io/learning/developerguides/qtquickappdevintro/QtQuickAppDevIntro.pdf
"Qt Help":http://download.qt.io/learning/developerguides/qtquickappdevintro/QtQuickAppDevIntro.qch


Download the source code of the examples discussed in the guide:<br />&quot;Example&amp;quot;:http://download.qt.io/learning/developerguides/qtquickappdevintro/qt_quick_app_dev_intro_src.zip
Download the source code of the examples discussed in the guide:
"Example":http://download.qt.io/learning/developerguides/qtquickappdevintro/qt_quick_app_dev_intro_src.zip




Line 31: Line 39:
Qt Quick Application Developer Guide for Desktop guides you through the entire process of developing a feature-rich application that you can deploy onto various desktop platforms. This guide walks you through the implementation of a simple application called, NoteApp, inspired by the modern fluid UIs. NoteApp is a tool for managing daily notes. It uses various advanced UI concepts including animations, database storage, and JavaScript usage for application logic rather than common well-known UI Elements used in desktop applications, such as toolbars, menus, and dialogs.
Qt Quick Application Developer Guide for Desktop guides you through the entire process of developing a feature-rich application that you can deploy onto various desktop platforms. This guide walks you through the implementation of a simple application called, NoteApp, inspired by the modern fluid UIs. NoteApp is a tool for managing daily notes. It uses various advanced UI concepts including animations, database storage, and JavaScript usage for application logic rather than common well-known UI Elements used in desktop applications, such as toolbars, menus, and dialogs.


Download this guide in your preferred format:<br />&quot;ePub&amp;quot;:http://download.qt.io/learning/developerguides/qtquickdesktop/QtQuickApplicationGuide4Desktop.epub<br />&quot;PDF&amp;quot;:http://download.qt.io/learning/developerguides/qtquickdesktop/QtQuickApplicationGuide4Desktop.pdf<br />&quot;Qt Help&amp;quot;:http://download.qt.io/learning/developerguides/qtquickdesktop/QtQuickApplicationGuide4Desktop.qch
Download this guide in your preferred format:
"ePub":http://download.qt.io/learning/developerguides/qtquickdesktop/QtQuickApplicationGuide4Desktop.epub
"PDF":http://download.qt.io/learning/developerguides/qtquickdesktop/QtQuickApplicationGuide4Desktop.pdf
"Qt Help":http://download.qt.io/learning/developerguides/qtquickdesktop/QtQuickApplicationGuide4Desktop.qch


Download the source code of the application discussed in the guide:
Download the source code of the application discussed in the guide:


&quot;NotezApp&amp;quot;:http://download.qt.io/learning/developerguides/qtquickdesktop/notezapp_src.zip
"NotezApp":http://download.qt.io/learning/developerguides/qtquickdesktop/notezapp_src.zip




Line 41: Line 52:
== Qt Quick Painting using Canvas Item ==
== Qt Quick Painting using Canvas Item ==


The goal of this tutorial provides the best programming practices about using the Canvas Item in Qt Quick 2.0 as part of Qt 5. A prerequisite to this guide is to have a solid understanding of the QML language, so we recommend you to get the QML basics right by reading the &quot;Qt Quick 2 documentation&amp;quot;:http://doc.qt.io/qt-5.0/qtquick/qtquick-index.html. Throughout this tutorial, we’ll walk you through various aspects and examples of Qt Quick 2.0 Painting API with Canvas. References to other information sources are provided to make it easy for you to deepen your understanding about the API.
The goal of this tutorial provides the best programming practices about using the Canvas Item in Qt Quick 2.0 as part of Qt 5. A prerequisite to this guide is to have a solid understanding of the QML language, so we recommend you to get the QML basics right by reading the "Qt Quick 2 documentation":http://doc.qt.io/qt-5.0/qtquick/qtquick-index.html. Throughout this tutorial, we’ll walk you through various aspects and examples of Qt Quick 2.0 Painting API with Canvas. References to other information sources are provided to make it easy for you to deepen your understanding about the API.


Download this guide in your preferred format:<br />&quot;ePub&amp;quot;:http://download.qt.io/learning/developerguides/canvastutorial/QtQuickCanvasTutorial.epub<br />&quot;PDF&amp;quot;:http://download.qt.io/learning/developerguides/canvastutorial/QtQuickCanvasTutorial.pdf<br />&quot;Qt Help&amp;quot;:http://download.qt.io/learning/developerguides/canvastutorial/QtQuickCanvasTutorial.qch
Download this guide in your preferred format:
"ePub":http://download.qt.io/learning/developerguides/canvastutorial/QtQuickCanvasTutorial.epub
"PDF":http://download.qt.io/learning/developerguides/canvastutorial/QtQuickCanvasTutorial.pdf
"Qt Help":http://download.qt.io/learning/developerguides/canvastutorial/QtQuickCanvasTutorial.qch


Download the source code of the examples discussed in the tutorial:<br />&quot;Example&amp;quot;:http://download.qt.io/learning/developerguides/canvastutorial/canvasexample_src.zip
Download the source code of the examples discussed in the tutorial:
"Example":http://download.qt.io/learning/developerguides/canvastutorial/canvasexample_src.zip




Line 53: Line 68:
The goal of this tutorial is to introduce you to some of the features of Qt Quick 2 for implementing animations and graphical effects. Mainly, this tutorial provides an overview of how to use the Particles module in Qt Quick 2 as well as ShaderEffects for advanced graphical effects.
The goal of this tutorial is to introduce you to some of the features of Qt Quick 2 for implementing animations and graphical effects. Mainly, this tutorial provides an overview of how to use the Particles module in Qt Quick 2 as well as ShaderEffects for advanced graphical effects.


Download this guide in your preferred format:<br />&quot;ePub&amp;quot;:http://download.qt.io/learning/developerguides/qteffects/ParticlesTutorial.epub<br />&quot;PDF&amp;quot;:http://download.qt.io/learning/developerguides/qteffects/ParticlesTutorial.pdf<br />&quot;Qt Help&amp;quot;:http://download.qt.io/learning/developerguides/qteffects/ParticlesTutorial.qch
Download this guide in your preferred format:
"ePub":http://download.qt.io/learning/developerguides/qteffects/ParticlesTutorial.epub
"PDF":http://download.qt.io/learning/developerguides/qteffects/ParticlesTutorial.pdf
"Qt Help":http://download.qt.io/learning/developerguides/qteffects/ParticlesTutorial.qch


Download the source code of the examples discussed in the guide:<br />&quot;Example&amp;quot;:http://download.qt.io/learning/developerguides/qteffects/particles_src.zip
Download the source code of the examples discussed in the guide:
"Example":http://download.qt.io/learning/developerguides/qteffects/particles_src.zip




Line 63: Line 82:
This guide will walk you through the creation of a small 3D arcade game using QML. Besides the developement process of a game in Qt Quick, it will show you how to create and use 3D content in your application. This tutorial provides an overview of the Qt3D QML API and will show you how to efficiently use its elements in your Qt Quick program.
This guide will walk you through the creation of a small 3D arcade game using QML. Besides the developement process of a game in Qt Quick, it will show you how to create and use 3D content in your application. This tutorial provides an overview of the Qt3D QML API and will show you how to efficiently use its elements in your Qt Quick program.


Note: Qt 3D is not part of the Qt 5 binary package. You must build Qt 3D from its &quot;source&amp;quot;:http://qt.gitorious.org/qt/qt3d if you want to try out the game application discussed in this guide.
Note: Qt 3D is not part of the Qt 5 binary package. You must build Qt 3D from its "source":http://qt.gitorious.org/qt/qt3d if you want to try out the game application discussed in this guide.


Download this guide in your preferred format:<br />&quot;ePub&amp;quot;:http://download.qt.io/learning/developerguides/gamedevelopmentqt3d/GameDevelopmentQt3D.epub<br />&quot;PDF&amp;quot;:http://download.qt.io/learning/developerguides/gamedevelopmentqt3d/GameDevelopmentQt3D.pdf<br />&quot;Qt Help&amp;quot;:http://download.qt.io/learning/developerguides/gamedevelopmentqt3d/GameDevelopmentQt3D.qch
Download this guide in your preferred format:
"ePub":http://download.qt.io/learning/developerguides/gamedevelopmentqt3d/GameDevelopmentQt3D.epub
"PDF":http://download.qt.io/learning/developerguides/gamedevelopmentqt3d/GameDevelopmentQt3D.pdf
"Qt Help":http://download.qt.io/learning/developerguides/gamedevelopmentqt3d/GameDevelopmentQt3D.qch


Download the source code of the examples discussed in the guide:<br />&quot;Source Code&amp;quot;:http://download.qt.io/learning/developerguides/gamedevelopmentqt3d/completegame_src.zip
Download the source code of the examples discussed in the guide:
"Source Code":http://download.qt.io/learning/developerguides/gamedevelopmentqt3d/completegame_src.zip




Line 75: Line 98:
This tutorial provides a basic introduction to OpenGL and 3D computer graphics in general. It shows how to make use of Qt and its OpenGL-related classes to create 3D graphics by using the OpenGL's programmable pipeline. The tutorial provides many examples that go through the basic features of OpenGL programming, such as rendering, texture mapping, lighting, and so on. By the end of this tutorial, you will have a good understanding of how OpenGL works and you will also be able to write custom shader programs.
This tutorial provides a basic introduction to OpenGL and 3D computer graphics in general. It shows how to make use of Qt and its OpenGL-related classes to create 3D graphics by using the OpenGL's programmable pipeline. The tutorial provides many examples that go through the basic features of OpenGL programming, such as rendering, texture mapping, lighting, and so on. By the end of this tutorial, you will have a good understanding of how OpenGL works and you will also be able to write custom shader programs.


Download this guide in your preferred format:<br />&quot;ePub&amp;quot;:http://download.qt.io/learning/developerguides/qtopengltutorial/OpenGLTutorial.epub<br />&quot;PDF&amp;quot;:http://download.qt.io/learning/developerguides/qtopengltutorial/OpenGLTutorial.pdf<br />&quot;Qt Help&amp;quot;:http://download.qt.io/learning/developerguides/qtopengltutorial/OpenGLTutorial.qch
Download this guide in your preferred format:
"ePub":http://download.qt.io/learning/developerguides/qtopengltutorial/OpenGLTutorial.epub
"PDF":http://download.qt.io/learning/developerguides/qtopengltutorial/OpenGLTutorial.pdf
"Qt Help":http://download.qt.io/learning/developerguides/qtopengltutorial/OpenGLTutorial.qch


Download the source code of the examples discussed in the guide:
Download the source code of the examples discussed in the guide:

Revision as of 08:38, 25 February 2015

[toc depth="2" align_right="yes"]

NOTE: As of 2014-10-04, these guides are old and no longer maintained. Use the official examples instead:

Qt Developer Guides

Welcome to the Qt Developer Guides page. These guides and tutorials are meant to inform you about the various aspects of application development, by walking you through the development process for applications that has features relevant to the topics discussed in each guide. Each guide is split into several chapters consisting multiple steps. Each step describes specific features of the application, the development approach, and detailed code used for the application being implemented.

Help us help you

We would appreciate any feedback or comments from you that can help us improve the content of these guides. To provide your feedback, create a bug on the 'Documentation' component in the "Qt Bug Tracker":http://bugreports.qt.io.

If you have ideas or suggestions and would like to contribute to the guides, consider starting your work on the "Learning Guides repository on Gitorius":http://gitorious.org/qt-learning/learning-guides


Introduction to Application Development with Qt Quick

This tutorial explains the basics of developing applications with Qt Quick by providing a code walkthrough of complete applications. The tutorial extends the standard Qt Quick documentation provided in Qt and relies on it as a source of more detailed information about Qt Quick APIs and fundamental concepts.

This tutorial is thought to provide in-depth content as a prerequisite for those of you who are new to Qt Quick. Even though it starts with the basics, you must be familiar with principles of programming to follow the guide. Basic knowledge of JavaScript is highly recommended. After completing this tutorial, you should be able to write your own Qt Quick applications and start discovering more by reading advanced materials or analyzing the code of complex applications.

Download this guide in your preferred format: "ePub":http://download.qt.io/learning/developerguides/qtquickappdevintro/QtQuickAppDevIntro.epub "PDF":http://download.qt.io/learning/developerguides/qtquickappdevintro/QtQuickAppDevIntro.pdf "Qt Help":http://download.qt.io/learning/developerguides/qtquickappdevintro/QtQuickAppDevIntro.qch

Download the source code of the examples discussed in the guide: "Example":http://download.qt.io/learning/developerguides/qtquickappdevintro/qt_quick_app_dev_intro_src.zip


Qt Quick Application Developer Guide for Desktop

Qt Quick Application Developer Guide for Desktop guides you through the entire process of developing a feature-rich application that you can deploy onto various desktop platforms. This guide walks you through the implementation of a simple application called, NoteApp, inspired by the modern fluid UIs. NoteApp is a tool for managing daily notes. It uses various advanced UI concepts including animations, database storage, and JavaScript usage for application logic rather than common well-known UI Elements used in desktop applications, such as toolbars, menus, and dialogs.

Download this guide in your preferred format: "ePub":http://download.qt.io/learning/developerguides/qtquickdesktop/QtQuickApplicationGuide4Desktop.epub "PDF":http://download.qt.io/learning/developerguides/qtquickdesktop/QtQuickApplicationGuide4Desktop.pdf "Qt Help":http://download.qt.io/learning/developerguides/qtquickdesktop/QtQuickApplicationGuide4Desktop.qch

Download the source code of the application discussed in the guide:

"NotezApp":http://download.qt.io/learning/developerguides/qtquickdesktop/notezapp_src.zip


Qt Quick Painting using Canvas Item

The goal of this tutorial provides the best programming practices about using the Canvas Item in Qt Quick 2.0 as part of Qt 5. A prerequisite to this guide is to have a solid understanding of the QML language, so we recommend you to get the QML basics right by reading the "Qt Quick 2 documentation":http://doc.qt.io/qt-5.0/qtquick/qtquick-index.html. Throughout this tutorial, we’ll walk you through various aspects and examples of Qt Quick 2.0 Painting API with Canvas. References to other information sources are provided to make it easy for you to deepen your understanding about the API.

Download this guide in your preferred format: "ePub":http://download.qt.io/learning/developerguides/canvastutorial/QtQuickCanvasTutorial.epub "PDF":http://download.qt.io/learning/developerguides/canvastutorial/QtQuickCanvasTutorial.pdf "Qt Help":http://download.qt.io/learning/developerguides/canvastutorial/QtQuickCanvasTutorial.qch

Download the source code of the examples discussed in the tutorial: "Example":http://download.qt.io/learning/developerguides/canvastutorial/canvasexample_src.zip


Particles and Graphics Effects in Qt Quick 2

The goal of this tutorial is to introduce you to some of the features of Qt Quick 2 for implementing animations and graphical effects. Mainly, this tutorial provides an overview of how to use the Particles module in Qt Quick 2 as well as ShaderEffects for advanced graphical effects.

Download this guide in your preferred format: "ePub":http://download.qt.io/learning/developerguides/qteffects/ParticlesTutorial.epub "PDF":http://download.qt.io/learning/developerguides/qteffects/ParticlesTutorial.pdf "Qt Help":http://download.qt.io/learning/developerguides/qteffects/ParticlesTutorial.qch

Download the source code of the examples discussed in the guide: "Example":http://download.qt.io/learning/developerguides/qteffects/particles_src.zip


Developing an arcade game with Qt3D

This guide will walk you through the creation of a small 3D arcade game using QML. Besides the developement process of a game in Qt Quick, it will show you how to create and use 3D content in your application. This tutorial provides an overview of the Qt3D QML API and will show you how to efficiently use its elements in your Qt Quick program.

Note: Qt 3D is not part of the Qt 5 binary package. You must build Qt 3D from its "source":http://qt.gitorious.org/qt/qt3d if you want to try out the game application discussed in this guide.

Download this guide in your preferred format: "ePub":http://download.qt.io/learning/developerguides/gamedevelopmentqt3d/GameDevelopmentQt3D.epub "PDF":http://download.qt.io/learning/developerguides/gamedevelopmentqt3d/GameDevelopmentQt3D.pdf "Qt Help":http://download.qt.io/learning/developerguides/gamedevelopmentqt3d/GameDevelopmentQt3D.qch

Download the source code of the examples discussed in the guide: "Source Code":http://download.qt.io/learning/developerguides/gamedevelopmentqt3d/completegame_src.zip


Qt OpenGL Tutorial

This tutorial provides a basic introduction to OpenGL and 3D computer graphics in general. It shows how to make use of Qt and its OpenGL-related classes to create 3D graphics by using the OpenGL's programmable pipeline. The tutorial provides many examples that go through the basic features of OpenGL programming, such as rendering, texture mapping, lighting, and so on. By the end of this tutorial, you will have a good understanding of how OpenGL works and you will also be able to write custom shader programs.

Download this guide in your preferred format: "ePub":http://download.qt.io/learning/developerguides/qtopengltutorial/OpenGLTutorial.epub "PDF":http://download.qt.io/learning/developerguides/qtopengltutorial/OpenGLTutorial.pdf "Qt Help":http://download.qt.io/learning/developerguides/qtopengltutorial/OpenGLTutorial.qch

Download the source code of the examples discussed in the guide: