##// END OF EJS Templates
One more fix for version flag
Jani Honkonen -
r4:c4893b2f3467
parent child
Show More
@@ -1,30 +1,30
1 TEMPLATE = lib
1 TEMPLATE = lib
2 TARGET = qmlchartplugin
2 TARGET = qmlchartplugin
3
3
4 CONFIG += qt plugin
4 CONFIG += qt plugin
5 QT += declarative
5 QT += declarative
6
6
7 contains($$QT_MAJOR_VERSION, 5) {
7 contains(QT_MAJOR_VERSION, 5) {
8 DEFINES += QTQUICK2
8 DEFINES += QTQUICK2
9 }
9 }
10
10
11 OBJECTS_DIR = tmp
11 OBJECTS_DIR = tmp
12 MOC_DIR = tmp
12 MOC_DIR = tmp
13
13
14 SOURCES += \
14 SOURCES += \
15 plugin.cpp \
15 plugin.cpp \
16 declarativechart.cpp
16 declarativechart.cpp
17 HEADERS += \
17 HEADERS += \
18 declarativechart.h
18 declarativechart.h
19 include(../src/chart.pri)
19 include(../src/chart.pri)
20
20
21 TARGETPATH = com/digia/charts
21 TARGETPATH = com/digia/charts
22
22
23 #DESTDIR = $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
23 #DESTDIR = $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
24 target.path = $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
24 target.path = $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
25
25
26 qmldir.files += $$PWD/qmldir
26 qmldir.files += $$PWD/qmldir
27 qmldir.path += $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
27 qmldir.path += $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
28
28
29 INSTALLS += target qmldir
29 INSTALLS += target qmldir
30
30
General Comments 0
You need to be logged in to leave comments. Login now