Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git] / tools / qmlviewer / qml.pri
1 QT += declarative script network sql
2 contains(QT_CONFIG, opengl) {
3     QT += opengl
4     DEFINES += GL_SUPPORTED
5 }
6
7 INCLUDEPATH += $$PWD
8
9 HEADERS += $$PWD/qmlruntime.h \
10            $$PWD/proxysettings.h \
11            $$PWD/qdeclarativetester.h \
12            $$PWD/deviceorientation.h \
13            $$PWD/loggerwidget.h
14 SOURCES += $$PWD/qmlruntime.cpp \
15            $$PWD/proxysettings.cpp \
16            $$PWD/qdeclarativetester.cpp \
17            $$PWD/loggerwidget.cpp
18
19 RESOURCES = $$PWD/browser/browser.qrc \
20             $$PWD/startup/startup.qrc
21
22 symbian {
23     contains(QT_CONFIG, s60) {
24         LIBS += -lavkon -lcone
25     }
26     !contains(S60_VERSION, 3.1):!contains(S60_VERSION, 3.2) {
27         LIBS += -lsensrvclient -lsensrvutil
28         SOURCES += $$PWD/deviceorientation_symbian.cpp
29     } else {
30         SOURCES += $$PWD/deviceorientation.cpp
31     }
32     FORMS = $$PWD/recopts.ui \
33              $$PWD/proxysettings.ui
34 } else:maemo5 {
35     QT += dbus
36     HEADERS += $$PWD/texteditautoresizer_maemo5.h
37     SOURCES += $$PWD/deviceorientation_maemo5.cpp
38     FORMS = $$PWD/recopts_maemo5.ui \
39             $$PWD/proxysettings_maemo5.ui
40 } else:linux-g++-maemo {
41     QT += dbus
42     SOURCES += $$PWD/deviceorientation_harmattan.cpp
43     FORMS = $$PWD/recopts.ui \
44             $$PWD/proxysettings.ui
45 } else {
46     SOURCES += $$PWD/deviceorientation.cpp
47     FORMS = $$PWD/recopts.ui \
48             $$PWD/proxysettings.ui
49 }
50