summaryrefslogtreecommitdiffstats
path: root/src/src.pro
blob: 9ca62b5514b88bbb742fffc9b9b6d84545a07d0e (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
TEMPLATE = lib
TARGET = QtSceneGraph
DEPENDPATH += .
INCLUDEPATH += .
DESTDIR=../lib
DLLDESTDIR=../bin

macx: CONFIG -= app_bundle

target.path = $$[QT_INSTALL_LIBS]
INSTALLS += target

symbian {
    contains(QT_EDITION, OpenSource) {
        TARGET.CAPABILITY = LocalServices NetworkServices ReadUserData UserEnvironment WriteUserData
    } else {
        TARGET.CAPABILITY = All -Tcb
    }

    TARGET.EPOCALLOWDLLDATA = 1

    scenegraphlibrary.sources = $$QMAKE_LIBDIR_QT/QtScenegraph.dll
    scenegraphlibrary.path = c:/sys/bin
    DEPLOYMENT += scenegraphlibrary

    MOC_DIR = tmp/moc
    OBJECTS_DIR = tmp/obj
} else {
    MOC_DIR = .moc
    OBJECTS_DIR = .obj
}

QT += opengl declarative script network

include(canvas/canvas.pri)
include(graphicsitems/graphicsitems.pri)
include(scenegraph/scenegraph.pri)
include(adaptationlayers/adaptationlayers.pri)
include(effects/effects.pri)
include(scenegraphitem/scenegraphitem.pri)

DEFINES += QML_RUNTIME_TESTING
DEFINES += QT_BUILD_SCENEGRAPH_LIBRARY

HEADERS += \
    qmlscene_global.h

SOURCES += \
    qmlscene_global.cpp \
    scenegraph/coreapi/qsgcontext.cpp