summaryrefslogtreecommitdiffstats
path: root/tools/qml
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@nokia.com>2011-04-06 12:41:05 +0200
committerKai Koehne <kai.koehne@nokia.com>2011-04-06 12:46:42 +0200
commit5f741649cff218367100f3a9d7cdf9e0d393e327 (patch)
tree6d3f5e7a733e19aa9fa103fd42cdd0b3142ea2d0 /tools/qml
parent7545deafbe6aa996aa9c3ec7297a312692b22ff4 (diff)
QmlViewer: Enable remote qml debugging
Allow users to use qmlviewer for profiling. Change-Id: I4bddabceade17260159ff5b46b35072afb204ff6 Task-number: QTBUG-18595 Reviewed-by: Christiaan Janssen
Diffstat (limited to 'tools/qml')
-rw-r--r--tools/qml/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/qml/main.cpp b/tools/qml/main.cpp
index 6ca6bfb8ed..b2c7f4f730 100644
--- a/tools/qml/main.cpp
+++ b/tools/qml/main.cpp
@@ -51,6 +51,7 @@
#include <QMessageBox>
#include <QAtomicInt>
#include "qdeclarativetester.h"
+#include <private/qdeclarativedebughelper_p.h>
QT_USE_NAMESPACE
@@ -538,6 +539,8 @@ int main(int argc, char ** argv)
QApplication::setGraphicsSystem("raster");
#endif
+ QDeclarativeDebugHelper::enableDebugging();
+
Application app(argc, argv);
app.setApplicationName("QtQmlViewer");
app.setOrganizationName("Nokia");