blob: 1eb1e01251ffc5ca90ce816859e66c76208e714c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
..
---------------------------------------------------------------------------
Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
All rights reserved.
This work, unless otherwise expressly stated, is licensed under a
Creative Commons Attribution-ShareAlike 2.5.
The full license document is available from
http://creativecommons.org/licenses/by-sa/2.5/legalcode .
---------------------------------------------------------------------------
About this Guide
================
Why Would You Want to Read this Guide?
--------------------------------------
The goal of this tutorial is to make you familiar with best programming practices using the QtJsonDb API in Qt Quick 2.0 as part of Qt 5.
A prerequisite to this tutorial is to have a solid understanding of the QML language and also use the Qt Quick Application Development Primer as your first guide on how to use Qt Quick for application development. Throughout this tutorial, we’ll walk you through various aspects and an example of QtJsonDb API. References to other information sources are provided to make it easy for you to deepen your understanding of the used API.
.. Note:: QtJsonDb module is not part of the Qt 5 Alpha release and so you would need to compile Qt 5 and the QtJsonDb module yourself by cloning it from the Git repository. Check this `Building Qt 5 from Git <http://qt-project.org/wiki/Building_Qt_5_from_Git>`_ wiki page for detailed information.
.. _get-desktop-source-code:
Get the Source Code and the Guide in Different Formats
------------------------------------------------------
A .zip file that contains the source code of each chapter is provided:
`Source code <http://get.qt.nokia.com/developerguides/qtjsondbtutorial/jsondbapp_src.zip>`_
The guide is available in the following formats:
`PDF <http://get.qt.nokia.com/developerguides/qtjsondbtutorial/QtJsonDbTutorial.pdf.pdf>`_
`ePub <http://get.qt.nokia.com/developerguides/qtjsondbtutorial/QtJsonDbTutorial.pdf.epub>`_ for ebook readers. Further details can be found `here <http://en.wikipedia.org/wiki/EPUB#Software_reading_systems>`_.
`Qt Help <http://get.qt.nokia.com/developerguides/qtjsondbtutorial/QtJsonDbTutorial.pdf.qch>`_ for Qt Assistant and Qt Creator. In Qt Assistant under the :qt:`Preferences Dialog <assistant-details.html#preferences-dialog>`, in the `Documentation` tab (in a collapsible menu for Mac users), you click on the Add button in order to add this guide in the .qch format. We do the same in Qt Creator, under the `Options` dialog, in the `Help` section you, can add this guide in the `Documentation` tab.
License
-------
Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
All rights reserved.
This work, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-ShareAlike 2.5.
The full license document is available from http://creativecommons.org/licenses/by-sa/2.5/legalcode .
Qt and the Qt logo is a registered trade mark of Digia plc and/or its subsidiaries and is used pursuant to a license from Digia plc and/or its subsidiaries. All other trademarks are property of their respective owners.
.. rubric:: What's Next?
Next we will go through a simple example that will cover the most basic of the QtJsonDb API in Qt Quick 2.0.
|