qmlplugin.pro
67 lines
| 1.2 KiB
| text/idl
|
PrologLexer
/ qmlplugin / qmlplugin.pro
Tero Ahola
|
r120 | !include( ../common.pri ) { | ||
error( "Couldn't find the common.pri file!" ) | ||||
} | ||||
!include( ../integrated.pri ) { | ||||
error( "Couldn't find the integrated.pri file !") | ||||
} | ||||
Jani Honkonen
|
r1 | TEMPLATE = lib | ||
Tero Ahola
|
r120 | TARGET = qtcommercialchartqml | ||
Michal Klocek
|
r255 | DESTDIR = $$CHART_BUILD_PLUGIN_DIR | ||
Jani Honkonen
|
r1 | CONFIG += qt plugin | ||
QT += declarative | ||||
Jani Honkonen
|
r4 | contains(QT_MAJOR_VERSION, 5) { | ||
Tero Ahola
|
r120 | # TODO: QtQuick2 not supported by the implementation currently | ||
Jani Honkonen
|
r3 | DEFINES += QTQUICK2 | ||
} | ||||
Michal Klocek
|
r255 | OBJECTS_DIR = $$CHART_BUILD_DIR/plugin | ||
MOC_DIR = $$CHART_BUILD_DIR/plugin | ||||
UI_DIR = $$CHART_BUILD_DIR/plugin | ||||
RCC_DIR = $$CHART_BUILD_DIR/plugin | ||||
Jani Honkonen
|
r1 | |||
SOURCES += \ | ||||
plugin.cpp \ | ||||
Tero Ahola
|
r120 | declarativechart.cpp \ | ||
Tero Ahola
|
r196 | declarativeseries.cpp \ | ||
declarativescatterseries.cpp \ | ||||
Tero Ahola
|
r215 | scatterelement.cpp \ | ||
declarativepieseries.cpp \ | ||||
declarativelineseries.cpp | ||||
Jani Honkonen
|
r1 | HEADERS += \ | ||
Tero Ahola
|
r120 | declarativechart.h \ | ||
Tero Ahola
|
r196 | declarativeseries.h \ | ||
declarativescatterseries.h \ | ||||
Tero Ahola
|
r215 | scatterelement.h \ | ||
declarativepieseries.h \ | ||||
declarativelineseries.h | ||||
Jani Honkonen
|
r1 | |||
Michal Klocek
|
r255 | QMAKE_POST_LINK = $$QMAKE_COPY qmldir $$CHART_BUILD_PLUGIN_DIR | ||
Tero Ahola
|
r120 | TARGETPATH = QtCommercial/Chart | ||
Jani Honkonen
|
r1 | target.path = $$[QT_INSTALL_IMPORTS]/$$TARGETPATH | ||
qmldir.files += $$PWD/qmldir | ||||
qmldir.path += $$[QT_INSTALL_IMPORTS]/$$TARGETPATH | ||||
INSTALLS += target qmldir | ||||
Tero Ahola
|
r120 | |||
Tero Ahola
|
r196 | |||
Tero Ahola
|
r215 | |||