blob: 09c242646213ec2836caad78d67298a7ed830aa6 (
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
|
QT = ivicore ivivehiclefunctions
CONFIG += c++11
QT_FOR_CONFIG += ivicore
!qtConfig(ivigenerator): error("No ivigenerator available")
QFACE_MODULE_NAME = QtIviVehicleFunctions
QFACE_FORMAT = qmlplugin
QFACE_SOURCES = ../../ivivehiclefunctions/ivivehiclefunctions.qface
QML_IMPORT_VERSION = 1.0
load(ivigenerator)
CXX_MODULE = qml
TARGETPATH = $$replace(URI, \\., /)
load(qml_plugin)
# Set the base to null to disable the check that the files are from the source folder
# Because the naming has changed in the last couple of Qt versions, multiple variable
# need to be fixed
!equals(PWD, $$OUT_PWD) {
qmldir.base =
qmlfiles.base =
qmldir.files -= $$_PRO_FILE_PWD_/qmldir
qmlfiles.files -= $$_PRO_FILE_PWD_/qmldir
}
qmldir2build.files -= $$_PRO_FILE_PWD_/qmldir
qmldir2build.files -= $$_PRO_FILE_PWD_/plugins.qmltypes
qml2build.files -= $$_PRO_FILE_PWD_/qmldir
qml2build.files -= $$_PRO_FILE_PWD_/plugins.qmltypes
|