aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4engine_p.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2017-10-06 17:30:36 +0200
committerUlf Hermann <ulf.hermann@qt.io>2017-11-08 13:18:25 +0000
commit4e6d5951ed853b236b03ad46ac14649449830d96 (patch)
tree8ee83435fe83ce38ae0d250b8bb0722f45fad63a /src/qml/jsruntime/qv4engine_p.h
parent7bedd55551fbe95355b0db11f9d576924e829f9d (diff)
Make qml-debug a proper feature
Change-Id: Iea33ff0200f0bbf43953fedba030edf91d0f1417 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4engine_p.h')
-rw-r--r--src/qml/jsruntime/qv4engine_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qml/jsruntime/qv4engine_p.h b/src/qml/jsruntime/qv4engine_p.h
index 4549cda5b9..e4ac51efed 100644
--- a/src/qml/jsruntime/qv4engine_p.h
+++ b/src/qml/jsruntime/qv4engine_p.h
@@ -345,7 +345,7 @@ public:
ExecutionEngine(EvalISelFactory *iselFactory = 0);
~ExecutionEngine();
-#ifdef QT_NO_QML_DEBUGGER
+#if !QT_CONFIG(qml_debug)
QV4::Debugging::Debugger *debugger() const { return nullptr; }
QV4::Profiling::Profiler *profiler() const { return nullptr; }
@@ -357,7 +357,7 @@ public:
void setDebugger(Debugging::Debugger *debugger);
void setProfiler(Profiling::Profiler *profiler);
-#endif // QT_NO_QML_DEBUGGER
+#endif // QT_CONFIG(qml_debug)
ExecutionContext *pushGlobalContext();
void pushContext(Heap::ExecutionContext *context);
@@ -460,7 +460,7 @@ public:
private:
void failStackLimitCheck(Scope &scope);
-#ifndef QT_NO_QML_DEBUGGER
+#if QT_CONFIG(qml_debug)
QScopedPointer<QV4::Debugging::Debugger> m_debugger;
QScopedPointer<QV4::Profiling::Profiler> m_profiler;
#endif