# This file is part of Qt Creator
# It enables debugging of Qt Quick applications

QT += declarative script
INCLUDEPATH += $$PWD/include

symbian {
    LIBNAME = QmLJSDebugger.lib
} else {
    windows:CONFIG(debug, debug|release) {
        LIBNAME = QmlJSDebuggerd
    } else {
        LIBNAME = QmlJSDebugger
    }
}
LIBS += -L$$PWD -l$$LIBNAME

DEFINES += QMLJSDEBUGGER

# This file is part of Qt Creator
# It enables debugging of Qt Quick applications

QT += declarative script
INCLUDEPATH += $$PWD/include

symbian {
    LIBNAME = QmLJSDebugger.lib
} else {
    windows:CONFIG(debug, debug|release) {
        LIBNAME = QmlJSDebuggerd
    } else {
        LIBNAME = QmlJSDebugger
    }
}
LIBS += -L$$PWD -l$$LIBNAME

symbian {
    # Work around bug in gcce toolchain (QTCREATORBUG-5589)
    LIBS += -lusrt2_2.lib
}

DEFINES += QMLJSDEBUGGER

Fix linker errors with gcce
QmlJSLib: Fix linker errors with gcce

usrt2_2.lib is passed to g++ before QmlJSDebugger.lib, which results
in errors about __aeabi_atexit, __dso_handle being undefined. Work around
this by explicitly adding usrt2_2.lib again after QmlJSDebugger.lib.

Task-number: QTCREATORBUG-5556
Change-Id: Id9e1dc19a2ee54e59d92470a35ccfd4946b07dcc
Reviewed-on: http://codereview.qt.nokia.com/2115
Reviewed-by: Qt Sanity Bot <5581206bb7e0307f0d99eb71898ae6b694149ca5@ovi.com>
Reviewed-by: Alessandro Portale <c4179e69990f13917ee3505a5fdf6c5eb1b74ff4@nokia.com>
