Files
qt-creator/share/qtcreator/qml/qmljsdebugger/qmljsdebugger-lib.pri
Kai Koehne 84743eff46 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 <qt_sanity_bot@ovi.com>
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
2011-07-25 16:42:17 +02:00

24 lines
471 B
Plaintext

# 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