summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/qardboard/qardboard.pro
blob: 07db757374981f2f80e296c0d7cbb229cd926d59 (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
!include( ../examples.pri ) {
    error( "Couldn't find the examples.pri file!" )
}

SOURCE += main.cpp

QT += qml quick 3dcore 3drender 3dinput 3dquick 3dextras 3dquickextras

OTHER_FILES += *.qml

SOURCES += \
    main.cpp \
    abstractdeviceorientation.cpp \
    dummydeviceorientation.cpp

HEADERS += \
    abstractdeviceorientation.h \
    dummydeviceorientation.h

RESOURCES += \
    resources.qrc \
    ../exampleresources/obj.qrc

ios {
    QT += sensors sensors-private
    QMAKE_INFO_PLIST = Info.plist

    OBJECTIVE_SOURCES += \
        iosdeviceorientation.mm \
        iosdeviceorientation_p.mm

    HEADERS += \
        iosdeviceorientation.h \
        iosdeviceorientation_p.h
}