forked from qt-creator/qt-creator
Debugger: Fix 'Attach to Qml port'
Never use the combined QmlCppEngine if the primary engine is already the QmlEngine. Change-Id: Ic87816bbe67fdf4ab004a41db601e33383c570dc Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -644,7 +644,8 @@ DEBUGGER_EXPORT ConfigurationCheck checkDebugConfiguration(const DebuggerStartPa
|
||||
// Anything left: Happy.
|
||||
result.errorMessage.clear();
|
||||
result.errorDetails.clear();
|
||||
if (qmlLanguage && cppLanguage) {
|
||||
if (qmlLanguage && cppLanguage
|
||||
&& usableType != QmlEngineType) {
|
||||
result.masterSlaveEngineTypes.first = QmlCppEngineType;
|
||||
result.masterSlaveEngineTypes.second = usableType;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user