Fix build: Add dependency on OpenGL module
Several of the QOpenGL* classes we depend on has moved to QtOpenGL, add the dependency and fix the include paths. Task-number: QTBUG-74409 Change-Id: Iab7949dd67befaa71cf2cfa041771e93f4e47160 Reviewed-by: Johan Helsing <johan.helsing@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
parent
6c26a60a72
commit
3a6859e808
@ -1,7 +1,7 @@
|
||||
# We have a bunch of C code with casts, so we can't have this option
|
||||
QMAKE_CXXFLAGS_WARN_ON -= -Wcast-qual
|
||||
|
||||
QT += waylandclient-private
|
||||
QT += waylandclient-private opengl
|
||||
|
||||
include(../../../../hardwareintegration/client/dmabuf-server/dmabuf-server.pri)
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
# We have a bunch of C code with casts, so we can't have this option
|
||||
QMAKE_CXXFLAGS_WARN_ON -= -Wcast-qual
|
||||
|
||||
QT += waylandclient-private
|
||||
QT += waylandclient-private opengl
|
||||
|
||||
include(../../../../hardwareintegration/client/drm-egl-server/drm-egl-server.pri)
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
# We have a bunch of C code with casts, so we can't have this option
|
||||
QMAKE_CXXFLAGS_WARN_ON -= -Wcast-qual
|
||||
|
||||
QT += waylandclient-private
|
||||
QT += waylandclient-private opengl
|
||||
|
||||
include(../../../../hardwareintegration/client/shm-emulation-server/shm-emulation-server.pri)
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
# We have a bunch of C code with casts, so we can't have this option
|
||||
QMAKE_CXXFLAGS_WARN_ON -= -Wcast-qual
|
||||
|
||||
QT += waylandclient-private
|
||||
QT += waylandclient-private opengl
|
||||
|
||||
include(../../../../hardwareintegration/client/vulkan-server/vulkan-server.pri)
|
||||
|
||||
|
@ -28,8 +28,8 @@
|
||||
|
||||
#include "mockcompositor.h"
|
||||
|
||||
#include <QtOpenGL/QOpenGLWindow>
|
||||
#include <QtGui/QRasterWindow>
|
||||
#include <QtGui/QOpenGLWindow>
|
||||
#include <QtGui/QClipboard>
|
||||
#include <QtGui/QDrag>
|
||||
|
||||
|
@ -30,8 +30,8 @@
|
||||
|
||||
#include <qwayland-server-wp-primary-selection-unstable-v1.h>
|
||||
|
||||
#include <QtOpenGL/QOpenGLWindow>
|
||||
#include <QtGui/QRasterWindow>
|
||||
#include <QtGui/QOpenGLWindow>
|
||||
#include <QtGui/QClipboard>
|
||||
#include <QtCore/private/qcore_unix_p.h>
|
||||
|
||||
|
@ -28,8 +28,8 @@
|
||||
|
||||
#include "mockcompositor.h"
|
||||
|
||||
#include <QtOpenGL/QOpenGLWindow>
|
||||
#include <QtGui/QRasterWindow>
|
||||
#include <QtGui/QOpenGLWindow>
|
||||
#if QT_CONFIG(cursor)
|
||||
#include <wayland-cursor.h>
|
||||
#include <QtGui/private/qguiapplication_p.h>
|
||||
|
@ -27,8 +27,8 @@
|
||||
****************************************************************************/
|
||||
|
||||
#include "mockcompositor.h"
|
||||
#include <QtOpenGL/QOpenGLWindow>
|
||||
#include <QtGui/QRasterWindow>
|
||||
#include <QtGui/QOpenGLWindow>
|
||||
|
||||
using namespace MockCompositor;
|
||||
|
||||
@ -397,9 +397,9 @@ public:
|
||||
, touchPoints(event->touchPoints())
|
||||
{
|
||||
}
|
||||
const QEvent::Type type{};
|
||||
const Qt::TouchPointStates touchPointStates{};
|
||||
const QList<QTouchEvent::TouchPoint> touchPoints;
|
||||
QEvent::Type type{};
|
||||
Qt::TouchPointStates touchPointStates{};
|
||||
QList<QTouchEvent::TouchPoint> touchPoints;
|
||||
};
|
||||
QVector<Event> m_events;
|
||||
};
|
||||
|
@ -1,4 +1,4 @@
|
||||
QT += testlib waylandclient-private
|
||||
QT += testlib waylandclient-private opengl
|
||||
CONFIG += testcase wayland-scanner
|
||||
QMAKE_USE += wayland-server
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
CONFIG += testcase link_pkgconfig
|
||||
QT += testlib
|
||||
QT += core-private gui-private waylandclient-private
|
||||
QT += core-private gui-private waylandclient-private opengl
|
||||
|
||||
QMAKE_USE += wayland-client wayland-server
|
||||
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include "mockcompositor.h"
|
||||
#include <QtGui/QRasterWindow>
|
||||
#if QT_CONFIG(opengl)
|
||||
#include <QtGui/QOpenGLWindow>
|
||||
#include <QtOpenGL/QOpenGLWindow>
|
||||
#endif
|
||||
|
||||
using namespace MockCompositor;
|
||||
|
@ -30,8 +30,8 @@
|
||||
|
||||
#include <qwayland-server-xdg-decoration-unstable-v1.h>
|
||||
|
||||
#include <QtOpenGL/QOpenGLWindow>
|
||||
#include <QtGui/QRasterWindow>
|
||||
#include <QtGui/QOpenGLWindow>
|
||||
#include <QtGui/QClipboard>
|
||||
#include <QtCore/private/qcore_unix_p.h>
|
||||
|
||||
|
@ -27,8 +27,8 @@
|
||||
****************************************************************************/
|
||||
|
||||
#include "mockcompositor.h"
|
||||
#include <QtOpenGL/QOpenGLWindow>
|
||||
#include <QtGui/QRasterWindow>
|
||||
#include <QtGui/QOpenGLWindow>
|
||||
#include <QtGui/QScreen>
|
||||
|
||||
#include <qwayland-server-xdg-output-unstable-v1.h>
|
||||
|
@ -27,8 +27,8 @@
|
||||
****************************************************************************/
|
||||
|
||||
#include "mockcompositor.h"
|
||||
#include <QtOpenGL/QOpenGLWindow>
|
||||
#include <QtGui/QRasterWindow>
|
||||
#include <QtGui/QOpenGLWindow>
|
||||
#include <QtGui/qpa/qplatformnativeinterface.h>
|
||||
#include <QtWaylandClient/private/wayland-wayland-client-protocol.h>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user