| # Add files and directories to ship with the application |
| # by adapting the examples below. |
| # file1.source = myfile |
| # dir1.source = mydir |
| wwwDir.source = www |
| xmlDir.source = xml |
| qmlDir.source = qml |
| |
| DEPLOYMENTFOLDERS = wwwDir xmlDir qmlDir# file1 dir1 |
| |
| |
| SOURCES += main.cpp \ |
| src/plugins/notification.cpp \ |
| src/plugins/geolocation.cpp \ |
| src/plugins/fileapi.cpp \ |
| src/plugins/device.cpp \ |
| src/pluginregistry.cpp \ |
| src/plugins/console.cpp \ |
| src/plugins/connection.cpp \ |
| src/plugins/compass.cpp \ |
| src/plugins/accelerometer.cpp \ |
| src/plugins/events.cpp \ |
| src/cordova.cpp \ |
| src/cplugin.cpp \ |
| src/plugins/contacts.cpp \ |
| src/plugins/camera.cpp |
| # src/plugins/media.cpp |
| |
| HEADERS += \ |
| src/plugins/notification.h \ |
| src/plugins/geolocation.h \ |
| src/plugins/fileapi.h \ |
| src/plugins/device.h \ |
| src/pluginregistry.h \ |
| src/plugins/console.h \ |
| src/plugins/connection.h \ |
| src/plugins/compass.h \ |
| src/plugins/accelerometer.h \ |
| src/plugins/events.h \ |
| src/cordova.h \ |
| src/cplugin.h \ |
| src/plugins/contacts.h \ |
| src/plugins/camera.h \ |
| src/plugins/cameraresolution.h |
| #src/plugins/media.h |
| |
| greaterThan(QT_MAJOR_VERSION, 4) { |
| message("Qt5 build") |
| QT += widgets |
| QT += location |
| QT += sensors |
| QT += feedback |
| QT += systeminfo |
| QT += contacts |
| QT += multimedia |
| QT += quick declarative |
| |
| OTHER_FILES += qml/main_qt5.qml \ |
| qml/main_harmattan_qt5.qml \ |
| qml/cordova_wrapper.js |
| |
| } else:!isEmpty(MEEGO_VERSION_MAJOR) { |
| message("Qt4 build") |
| message("Harmattan build") |
| |
| OTHER_FILES += \ |
| qml/cordova_wrapper.js |
| |
| QT += declarative dbus |
| QT += webkit |
| CONFIG += mobility qdeclarative-boostable |
| MOBILITY += feedback location systeminfo sensors multimedia contacts |
| } else { |
| message("Qt4 build") |
| message("Non-harmattan build") |
| |
| OTHER_FILES += qml/main.qml \ |
| qml/cordova_wrapper.js |
| |
| symbian:TARGET.UID3 = 0xE3522943 |
| #symbian:DEPLOYMENT.installer_header = 0x2002CCCF |
| symbian:TARGET.CAPABILITY += NetworkServices UserEnvironment ReadUserData WriteUserData |
| symbian:{LIBS += -lecam -lServiceHandler -lbafl} |
| |
| QT += declarative |
| QT += webkit |
| CONFIG += mobility |
| MOBILITY += feedback location systeminfo sensors multimedia contacts |
| } |
| |
| # Please do not modify the following two lines. Required for deployment. |
| include(deployment.pri) |
| qtcAddDeployment() |
| |
| OTHER_FILES += \ |
| qtc_packaging/debian_harmattan/rules \ |
| qtc_packaging/debian_harmattan/README \ |
| qtc_packaging/debian_harmattan/manifest.aegis \ |
| qtc_packaging/debian_harmattan/copyright \ |
| qtc_packaging/debian_harmattan/control \ |
| qtc_packaging/debian_harmattan/compat \ |
| qtc_packaging/debian_harmattan/changelog \ |
| qml/main_qt4.qml \ |
| qml/main.qml |