Fixed WindowsCE build
authorBjoern Breitmeyer <bjoern.breitmeyer@kdab.com>
Thu, 11 Apr 2013 15:07:39 +0000 (17:07 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 16 Apr 2013 09:35:24 +0000 (11:35 +0200)
A windows header is included before the include
of the v8 debug header and it has a define for
DebugBreak which breaks linking of declarative on
WinCE

Change-Id: I9178cfcb960c0acbc850f2ff80c6d73b761c04f0
Reviewed-by: Andreas Holzammer <andreas.holzammer@kdab.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Reviewed-by: Alan Alpert (Personal) <416365416c@gmail.com>

src/qml/debugger/qv8debugservice_p.h

index 00ecf55..e6f05a2 100644 (file)
 //
 
 #include "qqmldebugservice_p.h"
+#ifdef Q_OS_WINCE
+#  ifdef DebugBreak
+#    undef DebugBreak
+#  endif
+#endif
 #include <private/qv8debug_p.h>
 
 QT_BEGIN_NAMESPACE