##// END OF EJS Templates
minor. src.pro fix
Michal Klocek -
r132:aedaf9242a96
parent child
Show More
@@ -1,131 +1,130
1 !include( ../common.pri ) {
1 !include( ../common.pri ) {
2 error( Couldn't find the common.pri file! )
2 error( Couldn't find the common.pri file! )
3 }
3 }
4
4
5 TARGET = QtCommercialChart
5 TARGET = QtCommercialChart
6 DESTDIR = $$CHART_BUILD_LIB_DIR
6 DESTDIR = $$CHART_BUILD_LIB_DIR
7 TEMPLATE = lib
7 TEMPLATE = lib
8 QT += core \
8 QT += core \
9 gui
9 gui
10
10
11 CONFIG += debug_and_release
11 CONFIG += debug_and_release
12 CONFIG(debug, debug|release):TARGET = QtCommercialChartd
12 CONFIG(debug, debug|release):TARGET = QtCommercialChartd
13
13
14 SOURCES += \
14 SOURCES += \
15 barchart/barchartseries.cpp \
15 barchart/barchartseries.cpp \
16 barchart/bargroup.cpp \
16 barchart/bargroup.cpp \
17 barchart/bar.cpp \
17 barchart/bar.cpp \
18 barchart/stackedbarchartseries.cpp \
18 barchart/stackedbarchartseries.cpp \
19 barchart/stackedbargroup.cpp \
19 barchart/stackedbargroup.cpp \
20 barchart/percentbarchartseries.cpp \
20 barchart/percentbarchartseries.cpp \
21 barchart/percentbargroup.cpp \
21 barchart/percentbargroup.cpp \
22 barchart/barlabel.cpp \
22 barchart/barlabel.cpp \
23 xylinechart/qxychartseries.cpp \
23 xylinechart/qxychartseries.cpp \
24 xylinechart/xylinechartitem.cpp \
24 xylinechart/xylinechartitem.cpp \
25 xylinechart/linechartanimationitem.cpp \
25 xylinechart/linechartanimationitem.cpp \
26 plotdomain.cpp \
26 plotdomain.cpp \
27 qscatterseries.cpp \
27 qscatterseries.cpp \
28 qpieseries.cpp \
28 qpieseries.cpp \
29 qchart.cpp \
29 qchart.cpp \
30 axisitem.cpp \
30 axisitem.cpp \
31 qchartwidget.cpp \
31 qchartwidget.cpp \
32 pieslice.cpp \
32 pieslice.cpp \
33 qchartview.cpp \
33 qchartview.cpp \
34 qchartseries.cpp \
34 qchartseries.cpp \
35 qchartaxis.cpp \
35 qchartaxis.cpp \
36 charttheme.cpp \
36 charttheme.cpp \
37 barchart/separator.cpp \
37 barchart/separator.cpp \
38 barchart/bargroupbase.cpp \
38 barchart/bargroupbase.cpp \
39 barchart/barchartseriesbase.cpp \
39 barchart/barchartseriesbase.cpp \
40 chartdataset.cpp \
40 chartdataset.cpp \
41 chartpresenter.cpp \
41 chartpresenter.cpp \
42 domain.cpp
42 domain.cpp
43
43
44 PRIVATE_HEADERS += \
44 PRIVATE_HEADERS += \
45 xylinechart/xylinechartitem_p.h \
45 xylinechart/xylinechartitem_p.h \
46 xylinechart/linechartanimationitem_p.h \
46 xylinechart/linechartanimationitem_p.h \
47 barchart/barlabel_p.h \
47 barchart/barlabel_p.h \
48 barchart/bar_p.h \
48 barchart/bar_p.h \
49 barchart/separator_p.h \
49 barchart/separator_p.h \
50 plotdomain_p.h \
50 plotdomain_p.h \
51 qscatterseries_p.h \
51 qscatterseries_p.h \
52 qpieseries_p.h \
52 qpieseries_p.h \
53 pieslice.h \
53 pieslice.h \
54 axisitem_p.h \
54 axisitem_p.h \
55 chartitem_p.h \
55 chartitem_p.h \
56 charttheme_p.h \
56 charttheme_p.h \
57 chartdataset_p.h \
57 chartdataset_p.h \
58 chartpresenter_p.h \
58 chartpresenter_p.h \
59 domain_p.h \
59 domain_p.h
60 chartanimation_p.h
61
60
62 PUBLIC_HEADERS += \
61 PUBLIC_HEADERS += \
63 qchartseries.h \
62 qchartseries.h \
64 qscatterseries.h \
63 qscatterseries.h \
65 qpieseries.h \
64 qpieseries.h \
66 qchart.h \
65 qchart.h \
67 qchartwidget.h \
66 qchartwidget.h \
68 qchartglobal.h \
67 qchartglobal.h \
69 xylinechart/qxychartseries.h \
68 xylinechart/qxychartseries.h \
70 barchart/barchartseries.h \
69 barchart/barchartseries.h \
71 barchart/bargroup.h \
70 barchart/bargroup.h \
72 barchart/stackedbarchartseries.h \
71 barchart/stackedbarchartseries.h \
73 barchart/stackedbargroup.h \
72 barchart/stackedbargroup.h \
74 barchart/percentbarchartseries.h \
73 barchart/percentbarchartseries.h \
75 barchart/percentbargroup.h \
74 barchart/percentbargroup.h \
76 barchart/barchartseriesbase.h \
75 barchart/barchartseriesbase.h \
77 barchart/bargroupbase.h \
76 barchart/bargroupbase.h \
78 qchartview.h \
77 qchartview.h \
79 qchartaxis.h
78 qchartaxis.h
80
79
81 HEADERS += $$PUBLIC_HEADERS
80 HEADERS += $$PUBLIC_HEADERS
82 HEADERS += $$PRIVATE_HEADERS
81 HEADERS += $$PRIVATE_HEADERS
83
82
84 INCLUDEPATH += xylinechart \
83 INCLUDEPATH += xylinechart \
85 barchart \
84 barchart \
86 .
85 .
87
86
88 OBJECTS_DIR = $$CHART_BUILD_DIR/lib
87 OBJECTS_DIR = $$CHART_BUILD_DIR/lib
89 MOC_DIR = $$CHART_BUILD_DIR/lib
88 MOC_DIR = $$CHART_BUILD_DIR/lib
90 UI_DIR = $$CHART_BUILD_DIR/lib
89 UI_DIR = $$CHART_BUILD_DIR/lib
91 RCC_DIR = $$CHART_BUILD_DIR/lib
90 RCC_DIR = $$CHART_BUILD_DIR/lib
92
91
93
92
94 DEFINES += QTCOMMERCIALCHART_LIBRARY
93 DEFINES += QTCOMMERCIALCHART_LIBRARY
95
94
96 public_headers.path = $$[QT_INSTALL_HEADERS]/QtCommercialChart
95 public_headers.path = $$[QT_INSTALL_HEADERS]/QtCommercialChart
97 public_headers.files = $$PUBLIC_HEADERS
96 public_headers.files = $$PUBLIC_HEADERS
98 target.path = $$[QT_INSTALL_LIBS]
97 target.path = $$[QT_INSTALL_LIBS]
99 INSTALLS += target \
98 INSTALLS += target \
100 public_headers
99 public_headers
101
100
102
101
103 install_build_headers.name = bild_headers
102 install_build_headers.name = bild_headers
104 install_build_headers.output = $$CHART_BUILD_HEADER_DIR/${QMAKE_FILE_BASE}.h
103 install_build_headers.output = $$CHART_BUILD_HEADER_DIR/${QMAKE_FILE_BASE}.h
105 install_build_headers.input = PUBLIC_HEADERS
104 install_build_headers.input = PUBLIC_HEADERS
106 install_build_headers.commands = $$QMAKE_COPY ${QMAKE_FILE_NAME} $$CHART_BUILD_HEADER_DIR
105 install_build_headers.commands = $$QMAKE_COPY ${QMAKE_FILE_NAME} $$CHART_BUILD_HEADER_DIR
107 install_build_headers.CONFIG += target_predeps no_link
106 install_build_headers.CONFIG += target_predeps no_link
108 QMAKE_EXTRA_COMPILERS += install_build_headers
107 QMAKE_EXTRA_COMPILERS += install_build_headers
109
108
110 chartversion.target = qchartversion_p.h
109 chartversion.target = qchartversion_p.h
111 chartversion.commands = @echo "build_time" > $$chartversion.target;
110 chartversion.commands = @echo "build_time" > $$chartversion.target;
112 chartversion.depends = $$HEADERS $$SOURCES
111 chartversion.depends = $$HEADERS $$SOURCES
113 PRE_TARGETDEPS += qchartversion_p.h
112 PRE_TARGETDEPS += qchartversion_p.h
114 QMAKE_CLEAN+= qchartversion_p.h
113 QMAKE_CLEAN+= qchartversion_p.h
115 QMAKE_EXTRA_TARGETS += chartversion
114 QMAKE_EXTRA_TARGETS += chartversion
116
115
117 unix:QMAKE_DISTCLEAN += -r $$CHART_BUILD_HEADER_DIR $$CHART_BUILD_LIB_DIR
116 unix:QMAKE_DISTCLEAN += -r $$CHART_BUILD_HEADER_DIR $$CHART_BUILD_LIB_DIR
118 win32:QMAKE_DISTCLEAN += /Q $$CHART_BUILD_HEADER_DIR $$CHART_BUILD_LIB_DIR
117 win32:QMAKE_DISTCLEAN += /Q $$CHART_BUILD_HEADER_DIR $$CHART_BUILD_LIB_DIR
119
118
120
119
121
120
122
121
123
122
124
123
125
124
126
125
127
126
128
127
129
128
130
129
131
130
General Comments 0
You need to be logged in to leave comments. Login now