From bb97fb03132a6b1e6d7dff9fd33d75a586020755 Mon Sep 17 00:00:00 2001
From: Kai Koehne <kai.koehne@nokia.com>
Date: Wed, 20 Apr 2011 15:52:44 +0200
Subject: [PATCH] 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
---
 src/plugins/debugger/qml/qmlcppengine.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/plugins/debugger/qml/qmlcppengine.cpp b/src/plugins/debugger/qml/qmlcppengine.cpp
index 56950b7..c8ab05e 100644
--- a/src/plugins/debugger/qml/qmlcppengine.cpp
+++ b/src/plugins/debugger/qml/qmlcppengine.cpp
@@ -665,7 +665,7 @@ void QmlCppEngine::handleRemoteSetupFailed(const QString &message)
 
 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
         d->m_qmlEngine->filterApplicationMessage(msg, channel);
     }
-- 
1.7.4.msysgit.0

