summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qcoreapplication_p.h
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@nokia.com>2011-09-19 10:56:12 +0200
committerQt by Nokia <qt-info@nokia.com>2011-09-19 16:37:51 +0200
commit9a096d9eb078f83b1e6f934ebaf863145f067fbc (patch)
tree45e811e81566f6274b2b8341d3549347538ffb80 /src/corelib/kernel/qcoreapplication_p.h
parent86ad092dff995f10d30022bb4e4a8955063dc3d1 (diff)
Move handling of -qmljsdebugger argument to QCoreApplication
Move handling of -qmljsdebugger= argument from QApplication to QCoreApplication. It makes sense to allow debugging also for applications based on QCoreApplication (which we intend to support in QtDeclarative). Change-Id: I5a03a4510fc166cea5aad146da673ee0e7cd5d36 Reviewed-on: http://codereview.qt-project.org/5121 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
Diffstat (limited to 'src/corelib/kernel/qcoreapplication_p.h')
-rw-r--r--src/corelib/kernel/qcoreapplication_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/kernel/qcoreapplication_p.h b/src/corelib/kernel/qcoreapplication_p.h
index 0914b24a16..d61a5a1bf5 100644
--- a/src/corelib/kernel/qcoreapplication_p.h
+++ b/src/corelib/kernel/qcoreapplication_p.h
@@ -141,6 +141,10 @@ public:
static uint attribs;
static inline bool testAttribute(uint flag) { return attribs & (1 << flag); }
static int app_compile_version;
+
+ void processCommandLineArguments();
+ QString qmljs_debug_arguments; // a string containing arguments for js/qml debugging.
+ inline QString qmljsDebugArgumentsString() { return qmljs_debug_arguments; }
};
QT_END_NAMESPACE