##// END OF EJS Templates
gettingstarted.qdoc whitespace fix
Jani Honkonen -
r1484:fe008ef7d284
parent child
Show More
@@ -1,73 +1,73
1 1 /*!
2 2 \page gettingstarted.html
3 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 #include<QWidget>
56 #include<QChartView>
55 #include<QWidget>
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 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 import QtCommercial.Chart 1.0
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