diff options
author | Ulf Hermann <ulf.hermann@theqtcompany.com> | 2014-12-02 15:57:06 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2015-06-26 14:13:46 +0000 |
commit | f23d4fafbff44bcb6fb1e259ca1021a4c4326084 (patch) | |
tree | 8fd6c26460d3dd9f268e64a92ad6e6ec4b375c56 /src/qml/debugger/qqmldebug.h | |
parent | 49d3cbfa171902ae2dc61bcdadfdac1305c50a2a (diff) |
Add option to use a local socket for QML debugging
Using a TCP debug server comes with a number of drawbacks. It has a
larger overhead than other connection types, the application has to
be able to access the network and there has to be an open port we can
find somehow.
Change-Id: Ia7fb24006b89419988c6504797303d84c3aa1bbc
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/debugger/qqmldebug.h')
-rw-r--r-- | src/qml/debugger/qqmldebug.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/debugger/qqmldebug.h b/src/qml/debugger/qqmldebug.h index bb90c4f1b8..421c6968b9 100644 --- a/src/qml/debugger/qqmldebug.h +++ b/src/qml/debugger/qqmldebug.h @@ -45,6 +45,7 @@ struct Q_QML_EXPORT QQmlDebuggingEnabler QQmlDebuggingEnabler(bool printWarning = true); static bool startTcpDebugServer(int port, bool block = false, const QString &hostName = QString()); + static bool connectToLocalDebugger(const QString &socketFileName, bool block = false); }; // Execute code in constructor before first QQmlEngine is instantiated |