blob: d3091598841cf588e2a6ef61726bb73a198b1a00 (
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
|
TARGET = declarative_location_test
TARGETPATH = Qt/location/test
include(../../src/imports/location/qlocationimport.pri)
QT += declarative location widgets
DESTDIR = $$QT.location.imports/$$TARGETPATH
target.path = $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
INCLUDEPATH += ../../src/imports/location
INCLUDEPATH += ../../src/location
# On some platforms, build both versions because debug and release
# versions are incompatible
#win32|mac:!wince*:!win32-msvc:!macx-xcode:CONFIG += debug_and_release
HEADERS += qdeclarativepinchgenerator_p.h \
qdeclarativelocationtestmodel_p.h \
../../src/imports/location/qdeclarativecoordinate_p.h
SOURCES += locationtest.cpp \
qdeclarativepinchgenerator.cpp \
qdeclarativelocationtestmodel.cpp \
../../src/imports/location/qdeclarativecoordinate.cpp
# Tell qmake to create such makefile that qmldir and target (i.e. declarative_location)
# are both copied to qt/imports/QtMobility/location -directory,
# as the "/imports" is the default place where qmlviewer looks for plugins
# (otherwise qmlviewer -I <path> -option is needed)
qmldir.files += $$PWD/qmldir
qmldir.path += $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
INSTALLS += target qmldir
|