Wayland plugin compile fixes.

This commit is contained in:
Samuel Rødal 2011-05-09 14:08:19 +02:00
parent df677b9653
commit 5dc3a46a2a
4 changed files with 4 additions and 4 deletions

View File

@ -60,7 +60,7 @@
#include "QtCore/qthreadstorage.h"
#include "QtCore/qhash.h"
#include "QtCore/qatomic.h"
#include "private/qwidget_p.h"
#include "QtWidgets/private/qwidget_p.h"
#include "qcache.h"
#include "qglpaintdevice_p.h"

View File

@ -43,7 +43,7 @@
#include "qwaylanddisplay.h"
#include "qwaylandwindow.h"
#include <QtGui/private/qapplication_p.h>
#include <QtGui/private/qguiapplication_p.h>
void *QWaylandNativeInterface::nativeResourceForWindow(const QByteArray &resourceString, QWindow *window)
{
@ -66,7 +66,7 @@ QWaylandScreen * QWaylandNativeInterface::qPlatformScreenForWindow(QWindow *wind
if (window) {
screen = static_cast<QWaylandScreen *>(QPlatformScreen::platformScreenForWindow(window));
} else {
screen = static_cast<QWaylandScreen *>(QApplicationPrivate::platformIntegration()->screens()[0]);
screen = static_cast<QWaylandScreen *>(QGuiApplicationPrivate::platformIntegration()->screens()[0]);
}
return screen;
}

View File

@ -41,7 +41,6 @@
#include "qwaylandshmsurface.h"
#include <QtCore/qdebug.h>
#include <QtGui/private/qapplication_p.h>
#include "qwaylanddisplay.h"
#include "qwaylandshmwindow.h"

View File

@ -36,6 +36,7 @@ INCLUDEPATH += $$PWD
QT += gui-private
QT += opengl-private
QT += core-private
QT += widgets-private
include ($$PWD/gl_integration/gl_integration.pri)