diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2015-02-18 17:18:00 +0100 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-02-19 15:55:34 +0100 |
| commit | f90537a7decfa5599606d3290bc25de02bfa5796 (patch) | |
| tree | 453b797af1ac1cb1725e8afb4a177f8663401876 /recipes-qt/qt5/qtbase-git/0006-qeglplatformintegration-Undefine-CursorShape-from-X..patch | |
| parent | 9d17546d56b5e710a6420b482514202236f410e3 (diff) | |
| download | meta-qt5-f90537a7decfa5599606d3290bc25de02bfa5796.tar.gz | |
qtdeclarative, *qtbase*: upgrade to latest revision in 5.4 branch
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-qt/qt5/qtbase-git/0006-qeglplatformintegration-Undefine-CursorShape-from-X..patch')
| -rw-r--r-- | recipes-qt/qt5/qtbase-git/0006-qeglplatformintegration-Undefine-CursorShape-from-X..patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes-qt/qt5/qtbase-git/0006-qeglplatformintegration-Undefine-CursorShape-from-X..patch b/recipes-qt/qt5/qtbase-git/0006-qeglplatformintegration-Undefine-CursorShape-from-X..patch new file mode 100644 index 00000000..386d2e87 --- /dev/null +++ b/recipes-qt/qt5/qtbase-git/0006-qeglplatformintegration-Undefine-CursorShape-from-X..patch | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | From 29c6088243796faf0b4115a93239d4ada9182757 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
| 3 | Date: Wed, 19 Mar 2014 18:32:28 +0100 | ||
| 4 | Subject: [PATCH 06/12] qeglplatformintegration: Undefine CursorShape from X.h | ||
| 5 | |||
| 6 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
| 7 | --- | ||
| 8 | src/platformsupport/eglconvenience/qeglplatformintegration_p.h | 6 ++++++ | ||
| 9 | 1 file changed, 6 insertions(+) | ||
| 10 | |||
| 11 | diff --git a/src/platformsupport/eglconvenience/qeglplatformintegration_p.h b/src/platformsupport/eglconvenience/qeglplatformintegration_p.h | ||
| 12 | index 2b5d5f5..a0aab03 100644 | ||
| 13 | --- a/src/platformsupport/eglconvenience/qeglplatformintegration_p.h | ||
| 14 | +++ b/src/platformsupport/eglconvenience/qeglplatformintegration_p.h | ||
| 15 | @@ -50,6 +50,12 @@ | ||
| 16 | #include <qpa/qplatformnativeinterface.h> | ||
| 17 | #include <EGL/egl.h> | ||
| 18 | |||
| 19 | +// Undefine CursorShape from X.h, which is causing breakage in Qt::CursorShape in platformsupport/eglconvenience/ | ||
| 20 | +// /usr/include/X11/X.h:#define CursorShape 0 /* largest size that can be displayed */ | ||
| 21 | +#ifdef CursorShape | ||
| 22 | +#undef CursorShape | ||
| 23 | +#endif | ||
| 24 | + | ||
| 25 | QT_BEGIN_NAMESPACE | ||
| 26 | |||
| 27 | class QEGLPlatformScreen; | ||
| 28 | -- | ||
| 29 | 2.3.0 | ||
| 30 | |||
