##// END OF EJS Templates
rename introduction.qdoc -> gettingstarted.qdoc
Jani Honkonen -
r1483:5f404251e909
parent child
Show More
@@ -1,59 +1,59
1 1 include(qchart-html.qdocconf)
2 2
3 3 HTML.postheader = \
4 4 "<div class=\"header\" id=\"qtdocheader\">\n" \
5 5 " <div class=\"content\"> \n" \
6 6 " <img src=\"images/qcharts.png\" alt=\"qcharts\"/>\n" \
7 7 " <p class=\"qtref\"> \n" \
8 8 " <span>Reference Documentation</span>\n" \
9 9 " </p>\n" \
10 10 " </div>\n" \
11 11 " <div class=\"breadcrumb toolblock\">\n" \
12 12 " <ul>\n" \
13 13 " <li class=\"first\"><a href=\"index.html\">About</a></li>\n" \
14 " <li><a href=\"introduction.html\">Getting started</a></li>\n" \
14 " <li><a href=\"gettingstarted.html\">Getting started</a></li>\n" \
15 15 " <li><a href=\"classes.html\">API Classes</a></li>\n" \
16 16 " <li><a href=\"qml.html\">QML API</a></li>\n" \
17 17 " <li><a href=\"examples.html\">Examples</a></li>\n" \
18 18 " <li><a href=\"demos.html\">Demos</a></li>\n" \
19 19 " <!-- Breadcrumbs go here -->\n"
20 20
21 21 HTML.postpostheader = \
22 22 " </ul>\n" \
23 23 " </div>\n" \
24 24 "</div>\n" \
25 25 "<div class=\"content mainContent\">\n"
26 26
27 27 HTML.footer = \
28 28 " <div class=\"ft\">\n" \
29 29 " <span></span>\n" \
30 30 " </div>\n" \
31 31 "</div> \n" \
32 32 "<div class=\"footer\">\n" \
33 33 " <p>\n" \
34 34 " <acronym title=\"Copyright\">&copy;</acronym> 2012 Digia ." \
35 35 " Qt and Qt logos are trademarks of of Nokia Corporation \n" \
36 36 " in Finland and/or other countries worldwide.</p>\n" \
37 37 " <p>\n" \
38 38 " All other trademarks are property of their respective owners.</p>\n" \
39 39 " <br />\n" \
40 40 " <p>\n" \
41 41 " Licensees holding valid Qt Commercial licenses may use this document in accordance with the" \
42 42 " Qt Commercial License Agreement provided with the Software or, alternatively, in accordance" \
43 43 " with the terms contained in a written agreement between you and Digia.</p>\n" \
44 44 " <p>\n" \
45 45 " <img src=\"images/digia_logo.png\" alt=\"digia\" /></p>\n" \
46 46 "</div>\n" \
47 47
48 48 # Files not referenced in any qdoc file.
49 49 # See also extraimages.HTML
50 50 qhp.QDoc.extraFiles = index.html \
51 51 images/arrow_down.png \
52 52 images/breadcrumb.png \
53 53 images/bullet_gt.png \
54 54 images/bullet_dn.png \
55 55 images/bullet_sq.png \
56 56 images/bullet_up.png \
57 57 images/horBar.png \
58 58 images/qcharts.png \
59 59 style/offline.css
@@ -1,73 +1,73
1 1 /*!
2 \page introduction.html
3 \title QtCommercial Charts Introduction
2 \page gettingstarted.html
3 \title QtCommercial Charts getting started
4 4 \keyword Introduction
5 5
6 6 You can obtain the QtCommercial Charts package from \l {http://www.digia.com/en/Qt/Log-in-Customer-Portal/} {Customer portal}.
7 7
8 8 Compiling:
9 9 \code
10 10 qmake CONFIG+=release
11 11 make
12 12 make install
13 13 \endcode
14 14
15 15 Depending on the OS and the compiler you are using "make" might need to be replaced with another command like: nmake, mingw32-make, etc.
16 16
17 17 On Windows platforms both debug and release configurations are built by default at the same time.
18 18 To build both at the same time on other platforms invoke the following command:
19 19
20 20 \code
21 21 make all
22 22 \endcode
23 23
24 24 Compiling as a static library (lib only):
25 25 \code
26 26 qmake CONFIG+=staticlib
27 27 make
28 28 make install
29 29 \endcode
30 30
31 31 \bold {New project}
32 32
33 33 Create a new project in a usual way and then add to your project's *.pro file following line:
34 34
35 35 \code
36 36 CONFIG += qtcommercialchart
37 37 \endcode
38 38
39 39 Or if you have not installed charts after building:
40 40
41 41 \code
42 42 CHARTSLIB = QtCommercialChart
43 43 CONFIG(debug, debug|release) {
44 44 mac: CHARTSLIB = $$join(CHARTSLIB,,,_debug)
45 45 win32: CHARTSLIB = $$join(CHARTSLIB,,,d)
46 46 }
47 47 INCLUDEPATH += <path_to_charts_folder>/include
48 48 LIBS += -L<path_to_charts_folder>/lib -l$$CHARTSLIB
49 49 \endcode
50 50
51 51 \bold {Widget project}
52 52
53 53 To use the QCharts classes add QtCommercialChart namespace macro in your header file.
54 54 \code
55 55 #include<QWidget>
56 56 #include<QChartView>
57 57
58 58 QTCOMMERCIALCHART_USE_NAMESPACE
59 59
60 60 class ExampleWidget : public QWidget
61 61 \endcode
62 62
63 63 \bold {QML project}
64 64
65 65 Add an import line to your *.qml file:
66 66 \code
67 67 import QtCommercial.Chart 1.0
68 68 \endcode
69 69
70 70 \raw HTML
71 71 \endraw
72 72
73 73 */
General Comments 0
You need to be logged in to leave comments. Login now