##// END OF EJS Templates
Examples build setup cleanup
Michal Klocek -
r252:43766a725919
parent child
Show More
@@ -1,7 +1,7
1 1 !include( ../example.pri ) {
2 2 error( "Couldn't find the example.pri file!" )
3 3 }
4 TARGET = axisChart
4 TARGET = axischart
5 5 SOURCES = main.cpp
6 6
7 7
@@ -1,17 +1,10
1 !include( ../../common.pri ) {
2 error( "Couldn't find the common.pri file!" )
3 }
4
5 !include( ../../integrated.pri ) {
6 error( "Couldn't find the integrated.pri file !")
1 !include( ../example.pri ) {
2 error( "Couldn't find the example.pri file!" )
7 3 }
8 4
9 5 TARGET = barchart
10 TEMPLATE = app
11 QT += core gui
12 6 SOURCES += main.cpp \
13 7 chartwidget.cpp
14
15 8 HEADERS += \
16 9 chartwidget.h
17 10
@@ -1,14 +1,8
1 !include( ../../common.pri ) {
2 error( "Couldn't find the common.pri file!" )
1 !include( ../example.pri ) {
2 error( "Couldn't find the example.pri file!" )
3 3 }
4 4
5 !include( ../../integrated.pri ) {
6 error( "Couldn't find the integrated.pri file !")
7 }
8
9 TARGET = colorlineChart
10 TEMPLATE = app
11 QT += core gui
5 TARGET = colorlinechart
12 6 SOURCES += main.cpp
13 7
14 8
@@ -1,14 +1,8
1 !include( ../../common.pri ) {
2 error( "Couldn't find the common.pri file!" )
1 !include( ../example.pri ) {
2 error( "Couldn't find the example.pri file!" )
3 3 }
4
5 !include( ../../integrated.pri ) {
6 error( "Couldn't find the integrated.pri file !")
7 }
8
9 TARGET = dynamicLineChart
10 TEMPLATE = app
11 QT += core gui opengl
4 QT+=opengl
5 TARGET = dynamiclinechart
12 6 SOURCES += main.cpp
13 7 HEADERS += wavegenerator.h
14 8
@@ -6,5 +6,11
6 6 error( "Couldn't find the integrated.pri file !")
7 7 }
8 8
9 DESTDIR = $$CHART_BUILD_BIN_DIR
10 OBJECTS_DIR = $$CHART_BUILD_DIR/bin/$$TARGET
11 MOC_DIR = $$CHART_BUILD_DIR/bin/$$TARGET
12 UI_DIR = $$CHART_BUILD_DIR/bin/$$TARGET
13 RCC_DIR = $$CHART_BUILD_DIR/bin/$$TARGET
14
9 15 TEMPLATE = app
10 16 QT += core gui No newline at end of file
@@ -1,25 +1,11
1 #-------------------------------------------------
2 #
3 # Project created by QtCreator 2012-02-14T15:27:32
4 #
5 #-------------------------------------------------
6
7 !include( ../../common.pri ) {
8 error( "Couldn't find the common.pri file!" )
9 }
10 !include( ../../integrated.pri ) {
11 error( "Couldn't find the integrated.pri file !")
1 !include( ../example.pri ) {
2 error( "Couldn't find the example.pri file!" )
12 3 }
13 4
14 QT += core gui sql
15
5 QT+= sql
16 6 TARGET = gdpbarchart
17 TEMPLATE = app
18
19
20 7 SOURCES += main.cpp\
21 8 widget.cpp
22
23 9 HEADERS += widget.h
24 10
25 11 COPY_DATABASE_COMMAND = $$QMAKE_COPY gdpData $$CHART_BUILD_BIN_DIR/gdpData
@@ -1,14 +1,7
1 !include( ../../common.pri ) {
2 error( "Couldn't find the common.pri file!" )
1 !include( ../example.pri ) {
2 error( "Couldn't find the example.pri file!" )
3 3 }
4
5 !include( ../../integrated.pri ) {
6 error( "Couldn't find the integrated.pri file !")
7 }
8
9 TARGET = lineChart
10 TEMPLATE = app
11 QT += core gui
4 TARGET = linechart
12 5 SOURCES += main.cpp
13 6
14 7
@@ -1,18 +1,9
1 !include( ../../common.pri ) {
2 error( "Couldn't find the common.pri file!" )
1 !include( ../example.pri ) {
2 error( "Couldn't find the example.pri file!" )
3 3 }
4 !include( ../../integrated.pri ) {
5 error( "Couldn't find the integrated.pri file !")
6 }
7
8 QT += core gui
9
10 4 TARGET = multichart
11 TEMPLATE = app
12
13 5 SOURCES += main.cpp \
14 6 multichartwidget.cpp
15
16 7 HEADERS += \
17 8 multichartwidget.h
18 9
@@ -1,17 +1,10
1 !include( ../../common.pri ) {
2 error( "Couldn't find the common.pri file!" )
3 }
4
5 !include( ../../integrated.pri ) {
6 error( "Couldn't find the integrated.pri file !")
1 !include( ../example.pri ) {
2 error( "Couldn't find the example.pri file!" )
7 3 }
8 4
9 5 TARGET = percentbarchart
10 TEMPLATE = app
11 QT += core gui
12 6 SOURCES += main.cpp \
13 7 chartwidget.cpp
14
15 8 HEADERS += \
16 9 chartwidget.h
17 10
@@ -1,19 +1,8
1 !include( ../../common.pri ) {
2 error( "Couldn't find the common.pri file!" )
1 !include( ../example.pri ) {
2 error( "Couldn't find the example.pri file!" )
3 3 }
4 !include( ../../integrated.pri ) {
5 error( "Couldn't find the integrated.pri file !")
6 }
7
8 QT += core gui
9
10 4 TARGET = piechart
11 TEMPLATE = app
12
13 5 SOURCES += main.cpp customslice.cpp
14 6 HEADERS += customslice.h
15 7
16 OBJECTS_DIR = tmp
17 MOC_DIR = tmp
18
19 8
@@ -1,17 +1,8
1 !include( ../../common.pri ) {
2 error( "Couldn't find the common.pri file!" )
1 !include( ../example.pri ) {
2 error( "Couldn't find the example.pri file!" )
3 3 }
4 !include( ../../integrated.pri ) {
5 error( "Couldn't find the integrated.pri file !")
6 }
7
8 QT += core gui
9
10 4 TARGET = scatter
11 TEMPLATE = app
12
13 5 SOURCES += main.cpp
14 6
15 HEADERS +=
16 7
17 8
@@ -1,17 +1,9
1 !include( ../../common.pri ) {
2 error( "Couldn't find the common.pri file!" )
1 !include( ../example.pri ) {
2 error( "Couldn't find the example.pri file!" )
3 3 }
4
5 !include( ../../integrated.pri ) {
6 error( "Couldn't find the integrated.pri file !")
7 }
8
9 4 TARGET = stackedbarchart
10 TEMPLATE = app
11 QT += core gui
12 5 SOURCES += main.cpp \
13 6 chartwidget.cpp
14
15 7 HEADERS += \
16 8 chartwidget.h
17 9
@@ -1,14 +1,7
1 !include( ../../common.pri ) {
2 error( "Couldn't find the common.pri file!" )
1 !include( ../example.pri ) {
2 error( "Couldn't find the example.pri file!" )
3 3 }
4
5 !include( ../../integrated.pri ) {
6 error( "Couldn't find the integrated.pri file !")
7 }
8
9 TARGET = zoomLineChart
10 TEMPLATE = app
11 QT += core gui
4 TARGET = zoomlinechart
12 5 HEADERS += chartwidget.h
13 6 SOURCES += main.cpp chartwidget.cpp
14 7
@@ -14,8 +14,6 integrated_build:{
14 14 }
15 15 }
16 16
17 DESTDIR = $$CHART_BUILD_BIN_DIR
18
19 17 CONFIG(debug, debug|release) {
20 18 LIBS += -lQtCommercialChartd
21 19 #this is ugly hack to work around missing rpath, it simply copies lib
@@ -8,4 +8,12
8 8
9 9 TEMPLATE = app
10 10 CONFIG += qtestlib
11 !contains(TARGET, ^tst_.*):TARGET = $$join(TARGET,,"tst_") No newline at end of file
11
12 DESTDIR = $$CHART_BUILD_BIN_DIR/test
13 OBJECTS_DIR = $$CHART_BUILD_DIR/test/$$TARGET
14 MOC_DIR = $$CHART_BUILD_DIR/test/$$TARGET
15 UI_DIR = $$CHART_BUILD_DIR/test/$$TARGET
16 RCC_DIR = $$CHART_BUILD_DIR/test/$$TARGET
17
18 !contains(TARGET, ^tst_.*):TARGET = $$join(TARGET,,"tst_")
19
General Comments 0
You need to be logged in to leave comments. Login now