##// END OF EJS Templates
Update gettingstarted doc about build_all
Jani Honkonen -
r1973:c312bd590919
parent child
Show More
@@ -1,57 +1,66
1 1 /*!
2 2 \page gettingstarted.html
3 3 \title QtCommercial Charts getting started
4 4 \keyword Introduction
5 5
6 6 Compiling:
7 7 \code
8 8 qmake CONFIG+=release
9 9 make
10 10 make install
11 11 \endcode
12 12
13 13 Depending on the OS and the compiler you are using "make" might need to be replaced with another command like: nmake, mingw32-make, etc.
14 14
15 15 To uninstall the QtCommercialCharts run:
16 16 \code
17 17 make uninstall
18 18 \endcode
19 19
20 20 Compiling as a static library (lib only):
21 21 \code
22 22 qmake CONFIG+=staticlib
23 23 make
24 24 make install
25 25 \endcode
26 26
27 Building both debug and release at the same time:
28 \code
29 qmake CONFIG+="debug_and_release build_all"
30 make
31 make install
32 \endcode
33
34 Please take a note that the \i build_all option is necessary for the install to work correctly. Otherwise it will not install both versions.
35
27 36 \bold {New project}
28 37
29 38 Create a new project in a usual way and then add to your project's *.pro file following line:
30 39
31 40 \code
32 41 CONFIG += qtcommercialchart
33 42 \endcode
34 43
35 44 \bold {Widget project}
36 45
37 46 To use the QCharts classes add QtCommercialChart namespace macro in your header file.
38 47 \code
39 48 #include<QWidget>
40 49 #include<QChartView>
41 50
42 51 QTCOMMERCIALCHART_USE_NAMESPACE
43 52
44 53 class ExampleWidget : public QWidget
45 54 \endcode
46 55
47 56 \bold {QML project}
48 57
49 58 Add an import line to your *.qml file:
50 59 \code
51 60 import QtCommercial.Chart 1.1
52 61 \endcode
53 62
54 63 \raw HTML
55 64 \endraw
56 65
57 66 */
General Comments 0
You need to be logged in to leave comments. Login now