forked from qt-creator/qt-creator
Add support for the meego booster. This requires - Telling qmake to link to right libraries - Exporting main method - using QApplication, QDeclarativeView objects from cache - avoiding QCoreApplication::applicationDirPath() To keep compatibility, QmlApplicationViewer is still derived from QDeclarativeView. However, if the app booster is used it merely acts as a proxy to the view from the cache. Change-Id: I83e285d9ca3c2cfd86d1711e1fb93c72589ba14d Reviewed-on: http://codereview.qt.nokia.com/3730 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com> Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
23 lines
725 B
Plaintext
23 lines
725 B
Plaintext
# This file was generated by the Qt Quick Application wizard of Qt Creator.
|
|
# The code below adds the QmlApplicationViewer to the project and handles the
|
|
# activation of QML debugging.
|
|
# It is recommended not to modify this file, since newer versions of Qt Creator
|
|
# may offer an updated version of it.
|
|
|
|
QT += declarative
|
|
|
|
SOURCES += $$PWD/qmlapplicationviewer.cpp
|
|
HEADERS += $$PWD/qmlapplicationviewer.h
|
|
INCLUDEPATH += $$PWD
|
|
|
|
# Include JS debugger library if QMLJSDEBUGGER_PATH is set
|
|
!isEmpty(QMLJSDEBUGGER_PATH) {
|
|
include($$QMLJSDEBUGGER_PATH/qmljsdebugger-lib.pri)
|
|
} else {
|
|
DEFINES -= QMLJSDEBUGGER
|
|
}
|
|
|
|
contains(CONFIG,qdeclarative-boostable):contains(MEEGO_EDITION,harmattan) {
|
|
DEFINES += HARMATTAN_BOOSTER
|
|
}
|