From 92d6ea825bba0942ed89092e13ded21851acb208 Mon Sep 17 00:00:00 2001 From: Benjamin Dobell Date: Sun, 8 Mar 2015 06:48:45 +1100 Subject: Added CMake option to enable QML debugging --- heimdall-frontend/source/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'heimdall-frontend/source') diff --git a/heimdall-frontend/source/main.cpp b/heimdall-frontend/source/main.cpp index 6373006..53e9f2d 100644 --- a/heimdall-frontend/source/main.cpp +++ b/heimdall-frontend/source/main.cpp @@ -30,6 +30,11 @@ Q_IMPORT_PLUGIN (QWindowsIntegrationPlugin); #endif +#if defined(ENABLE_QML_DEBUGGING) +#include +QQmlDebuggingEnabler enabler; +#endif + using namespace HeimdallFrontend; int main(int argc, char *argv[]) -- cgit v1.2.3