diff options
author | Michael BrĂ¼ning <michael.bruning@digia.com> | 2013-09-16 16:02:22 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-17 12:18:24 +0200 |
commit | 57f8c26c77095d2dc7c5b67f33444add7e7d181a (patch) | |
tree | 1d601f7b49a18793b552588218ba9c075b70dab3 /shared | |
parent | e0a9f95d5b710664b115a99317fcabd7950686c7 (diff) |
Add Qt namespace macros QtWebEngine classes.
This should enable namespaced builds of Qt and QtWebEngine.
Change-Id: I4c9d506d864b42a346026b980dcf3777b9680957
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'shared')
-rw-r--r-- | shared/shared_globals.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shared/shared_globals.h b/shared/shared_globals.h index 314c7fbf1..6ad97e181 100644 --- a/shared/shared_globals.h +++ b/shared/shared_globals.h @@ -43,6 +43,7 @@ #define SHARED_GLOBALS_H #include "third_party/WebKit/public/platform/WebScreenInfo.h" +#include <QtGlobal> #ifdef QT_WEBENGINE_LOGGING #define QT_NOT_YET_IMPLEMENTED fprintf(stderr, "function %s not implemented! - %s:%d\n", __func__, __FILE__, __LINE__); @@ -52,7 +53,9 @@ #define QT_NOT_USED Q_UNREACHABLE(); // This will assert in debug. #endif +QT_BEGIN_NAMESPACE class QWindow; +QT_END_NAMESPACE void GetScreenInfoFromNativeWindow(QWindow* window, WebKit::WebScreenInfo* results); |