aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiguel Costa <miguel.costa@qt.io>2018-12-20 18:04:00 +0100
committerMiguel Costa <miguel.costa@qt.io>2019-01-07 14:32:32 +0000
commit18eab5829fbae7da9cb8e2ace856baf4cc90357b (patch)
tree4c10fdc439ae1e3a7d1b56fd2dda0484d1e240c3
parentcdd36735509938a4f4feb46ef352d75f2a6e9909 (diff)
Connect to QML runtime even if no QRC is detected
In the QML debug engine, removed a check that required the presence of QRC files in the project in order to connect to the QML runtime. This was resulting in the QML runtime blocking forever waiting for connection to the debug client, in case a QRC file was not used (e.g. QML files were accessed from the file system directly). Task-number: QTVSADDINBUG-599 Change-Id: I0b83c6e63560c24ee00b65c24214b05748db202b Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
-rw-r--r--src/qtvstools/QML/Debugging/AD7/QmlDebugAD7Engine.cs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/qtvstools/QML/Debugging/AD7/QmlDebugAD7Engine.cs b/src/qtvstools/QML/Debugging/AD7/QmlDebugAD7Engine.cs
index 5d37c94d..cd2b39c3 100644
--- a/src/qtvstools/QML/Debugging/AD7/QmlDebugAD7Engine.cs
+++ b/src/qtvstools/QML/Debugging/AD7/QmlDebugAD7Engine.cs
@@ -120,9 +120,6 @@ namespace QtVsTools.Qml.Debug.AD7
FileSystem.RegisterRccFile(rccFile);
}
- if (!FileSystem.QrcPaths.Any())
- return VSConstants.E_FAIL;
-
IDebugProcess2 nativeProc;
var nativeProcId = new AD_PROCESS_ID
{