diff options
author | Bill King <bill.king@nokia.com> | 2010-11-09 14:53:21 +1000 |
---|---|---|
committer | Bill King <bill.king@nokia.com> | 2010-11-09 14:53:21 +1000 |
commit | 110c58d09eaa9eba81d2c30b0b7c3e438d19b2ef (patch) | |
tree | 3f190846752002499c1ecca6ab8bc8327ae1ef64 /share/qtcreator/qml/qmlobserver/main.cpp | |
parent | f1dabb16a32d267ceb635874dd3c509b0b90f07a (diff) |
make compile against 4.7 mainline
Diffstat (limited to 'share/qtcreator/qml/qmlobserver/main.cpp')
-rw-r--r-- | share/qtcreator/qml/qmlobserver/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/share/qtcreator/qml/qmlobserver/main.cpp b/share/qtcreator/qml/qmlobserver/main.cpp index 464b6a83a8..5189a70872 100644 --- a/share/qtcreator/qml/qmlobserver/main.cpp +++ b/share/qtcreator/qml/qmlobserver/main.cpp @@ -362,8 +362,10 @@ int main(int argc, char ** argv) if (stayOnTop) wflags |= Qt::WindowStaysOnTopHint; +#if defined(QMLJSDEBUGGER) // enable remote debugging QDeclarativeDebugHelper::enableDebugging(); +#endif QDeclarativeViewer *viewer = new QDeclarativeViewer(0, wflags); viewer->setAttribute(Qt::WA_DeleteOnClose, true); |