summaryrefslogtreecommitdiffstats
path: root/tools/qml/qml.pri
blob: 3e5a88b9bdd8c8139b3ad2006fa82a551609edea (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
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/qmlruntime.qrc
maemo5 {
    QT += dbus
    HEADERS += $$PWD/texteditautoresizer_maemo5.h
    SOURCES += $$PWD/deviceorientation_maemo5.cpp
    FORMS = $$PWD/recopts_maemo5.ui \
            $$PWD/proxysettings_maemo5.ui
} else {
    SOURCES += $$PWD/deviceorientation.cpp
    FORMS = $$PWD/recopts.ui \
            $$PWD/proxysettings.ui
}