forked from qt-creator/qt-creator
QmlDebug: Fix debugging for mixed projects on MinGW
We've so far missed the 'QDeclarativeDebug: ' messages, because they were arriving on an unexpected channel. Task-number: QTCREATORBUG-4630 Reviewed-by: Friedemann Kleint
This commit is contained in:
@@ -665,7 +665,7 @@ void QmlCppEngine::handleRemoteSetupFailed(const QString &message)
|
|||||||
|
|
||||||
void QmlCppEngine::showMessage(const QString &msg, int channel, int timeout) const
|
void QmlCppEngine::showMessage(const QString &msg, int channel, int timeout) const
|
||||||
{
|
{
|
||||||
if (channel == AppOutput || channel == AppError) {
|
if (channel == AppOutput || channel == AppError || channel == AppStuff) {
|
||||||
// message is from CppEngine, allow qml engine to process
|
// message is from CppEngine, allow qml engine to process
|
||||||
d->m_qmlEngine->filterApplicationMessage(msg, channel);
|
d->m_qmlEngine->filterApplicationMessage(msg, channel);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user