##// END OF EJS Templates
Update introduction doc
Jani Honkonen -
r1480:dedb95c750e9
parent child
Show More
@@ -12,26 +12,41
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 \bold {New project}
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
19
19 Create a new project in a usual way and then add to your project's *.pro file following line
20 \code
20 \code
21 CONFIG += qtcommercialchart
21 make all
22 \endcode
23
24 Compiling as a static library (lib only):
25 \code
26 qmake CONFIG+=staticlib
27 make
28 make install
22 \endcode
29 \endcode
23
30
24 or if you have not installed QCharts afer building:
31 \bold {New project}
32
33 Create a new project in a usual way and then add to your project's *.pro file following line:
25
34
26 On *unix:
27 \code
35 \code
28 INCLUDEPATH += <path_to_charts_folder>/include
36 CONFIG += qtcommercialchart
29 LIBS += -L<path_to_charts_folder>/lib -lQtCommercialChart
30 \endcode
37 \endcode
31
38
32 On windows:
39 Or if you have not installed charts after building:
33
40
34 On mac:
41 \code
42 CHARTSLIB = QtCommercialChart
43 CONFIG(debug, debug|release) {
44 mac: CHARTSLIB = $$join(CHARTSLIB,,,_debug)
45 win32: CHARTSLIB = $$join(CHARTSLIB,,,d)
46 }
47 INCLUDEPATH += <path_to_charts_folder>/include
48 LIBS += -L<path_to_charts_folder>/lib -l$$CHARTSLIB
49 \endcode
35
50
36 \bold {Widget project}
51 \bold {Widget project}
37
52
General Comments 0
You need to be logged in to leave comments. Login now