Debugger: Fix compilation if no private headers are specified

Don't try to compile the qml debugger backend (which needs
private headers from Qt) if private headers cannot be located.

Reviewed-by: hjk
This commit is contained in:
Kai Koehne
2010-08-09 14:38:54 +02:00
parent 3ab927ed74
commit 17bab9dce9
2 changed files with 8 additions and 1 deletions

View File

@@ -370,9 +370,11 @@ void DebuggerRunControl::createEngine(const DebuggerStartParameters &sp)
case TcfEngineType:
m_engine = createTcfEngine(sp);
break;
#if defined(QML_ENGINE)
case QmlEngineType:
m_engine = createQmlEngine(sp);
break;
#endif
default: {
// Could not find anything suitable.
debuggingFinished();