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