summaryrefslogtreecommitdiffstats
path: root/plugins/declarative/declarative.pri
blob: e652c7c470c54d9d013a249147a873d4686d39dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
!include( ../plugins.pri ) {
    error( "Couldn't find the plugins.pri file!" )
}

contains(DEFINES, CHARTS_FOR_QUICK2) {
    DESTDIR = $$CHART_BUILD_QML2_PLUGIN_DIR
} else {
    DESTDIR = $$CHART_BUILD_QML_PLUGIN_DIR
}

INCLUDEPATH += $$CHART_BUILD_PRIVATE_HEADER_DIR
ios:CONFIG(iphonesimulator, iphonesimulator|iphoneos):TARGET = $$join(TARGET,,,_iphonesimulator)
CONFIG(debug, debug|release) {
  mac: TARGET = $$join(TARGET,,,_debug)
  win32: TARGET = $$join(TARGET,,,d)
}

SOURCES += \
    ../declarative/plugin.cpp \
    ../declarative/declarativechart.cpp \
    ../declarative/declarativexypoint.cpp \
    ../declarative/declarativexyseries.cpp \
    ../declarative/declarativelineseries.cpp \
    ../declarative/declarativesplineseries.cpp \
    ../declarative/declarativeareaseries.cpp \
    ../declarative/declarativescatterseries.cpp \
    ../declarative/declarativepieseries.cpp \
    ../declarative/declarativebarseries.cpp \
    ../declarative/declarativecategoryaxis.cpp \
    ../declarative/declarativemargins.cpp \
    ../declarative/declarativeaxes.cpp \
    ../declarative/declarativepolarchart.cpp \
    ../declarative/declarativeboxplotseries.cpp

HEADERS += \
    ../declarative/declarativechart.h \
    ../declarative/declarativexypoint.h \
    ../declarative/declarativexyseries.h \
    ../declarative/declarativelineseries.h \
    ../declarative/declarativesplineseries.h \
    ../declarative/declarativeareaseries.h \
    ../declarative/declarativescatterseries.h \
    ../declarative/declarativepieseries.h \
    ../declarative/declarativebarseries.h \
    ../declarative/declarativecategoryaxis.h \
    ../declarative/declarativemargins.h \
    ../declarative/declarativeaxes.h \
    ../declarative/declarativepolarchart.h \
    ../declarative/shared_defines.h \
    ../declarative/declarativeboxplotseries.h

TARGETPATH = QtCommercial/Chart
target.path = $$IMPORT_INSTALL_PATH/$$TARGETPATH
qmldir.files += $$_PRO_FILE_PWD_/qmldir
qmldir.path +=  $$IMPORT_INSTALL_PATH/$$TARGETPATH
INSTALLS += target qmldir

QMLDIR_FILE = $$_PRO_FILE_PWD_/qmldir
contains(QMAKE_HOST.os, Windows): QMLDIR_FILE = $$replace(QMLDIR_FILE, "/","\\")
QMAKE_POST_LINK += $$QMAKE_COPY $$QMLDIR_FILE $$DESTDIR