diff options
author | Sérgio Martins <sergio.martins@kdab.com> | 2014-01-08 22:40:04 +0000 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-11 06:30:39 +0100 |
commit | 79b07807832d5595823fc6625061d0d194b5ba23 (patch) | |
tree | b236c4ae378f0d5a5cd05dd9c1c7c48c8adb65ac | |
parent | fa7451043e3e41690c292905866e3ddfe029f705 (diff) | |
download | qtbase-79b07807832d5595823fc6625061d0d194b5ba23.tar.gz qtbase-79b07807832d5595823fc6625061d0d194b5ba23.tar.bz2 qtbase-79b07807832d5595823fc6625061d0d194b5ba23.zip |
Fix kms build with -qtnamespace
Change-Id: I6aa3f3bc3c098b96ec0eec369b85a938c552f364
Reviewed-by: Jørgen Lind <jorgen.lind@digia.com>
Reviewed-by: Andrew Knight <andrew.knight@digia.com>
-rw-r--r-- | src/plugins/platforms/kms/qkmscursor.h | 5 | ||||
-rw-r--r-- | src/plugins/platforms/kms/qkmsdevice.h | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/plugins/platforms/kms/qkmscursor.h b/src/plugins/platforms/kms/qkmscursor.h index 91ac10aae5..f972604c01 100644 --- a/src/plugins/platforms/kms/qkmscursor.h +++ b/src/plugins/platforms/kms/qkmscursor.h @@ -44,11 +44,12 @@ #include <qpa/qplatformcursor.h> +struct gbm_device; +struct gbm_bo; + QT_BEGIN_NAMESPACE class QKmsScreen; -struct gbm_device; -struct gbm_bo; class QKmsCursor : public QPlatformCursor { diff --git a/src/plugins/platforms/kms/qkmsdevice.h b/src/plugins/platforms/kms/qkmsdevice.h index 906e00aa13..2f8e2da709 100644 --- a/src/plugins/platforms/kms/qkmsdevice.h +++ b/src/plugins/platforms/kms/qkmsdevice.h @@ -51,9 +51,10 @@ extern "C" { #include <QObject> +struct gbm_device; + QT_BEGIN_NAMESPACE -struct gbm_device; class QKmsIntegration; class QKmsDevice : public QObject |