summaryrefslogtreecommitdiffstats
path: root/tools/qml/qml.pri
blob: cfc74af89d58cd7f71306951360fba297b0854c0 (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
QT += declarative script network sql
contains(QT_CONFIG, opengl) {
    QT += opengl
    DEFINES += GL_SUPPORTED
}

INCLUDEPATH += $$PWD

HEADERS += $$PWD/qmlruntime.h \
           $$PWD/proxysettings.h \
           $$PWD/qdeclarativetester.h \
           $$PWD/deviceorientation.h \
           $$PWD/loggerwidget.h
SOURCES += $$PWD/qmlruntime.cpp \
           $$PWD/proxysettings.cpp \
           $$PWD/qdeclarativetester.cpp \
           $$PWD/loggerwidget.cpp

RESOURCES = $$PWD/browser/browser.qrc \
            $$PWD/startup/startup.qrc

symbian {
    contains(QT_CONFIG, s60) {
        LIBS += -lavkon -lcone
    }
    !contains(S60_VERSION, 3.1):!contains(S60_VERSION, 3.2) {
        LIBS += -lsensrvclient -lsensrvutil
        SOURCES += $$PWD/deviceorientation_symbian.cpp
    } else {
        SOURCES += $$PWD/deviceorientation.cpp
    }
    FORMS = $$PWD/recopts.ui \
             $$PWD/proxysettings.ui
} else:maemo5 {
    QT += dbus
    HEADERS += $$PWD/texteditautoresizer_maemo5.h
    SOURCES += $$PWD/deviceorientation_maemo5.cpp
    FORMS = $$PWD/recopts_maemo5.ui \
            $$PWD/proxysettings_maemo5.ui
} else:linux-g++-maemo {
    QT += dbus
    SOURCES += $$PWD/deviceorientation_harmattan.cpp
    FORMS = $$PWD/recopts.ui \
            $$PWD/proxysettings.ui
} else {
    SOURCES += $$PWD/deviceorientation.cpp
    FORMS = $$PWD/recopts.ui \
            $$PWD/proxysettings.ui
}