Fix minimal plugin for windows
Change-Id: Ica017cdad4c8205706b42767035d834498b63037 Reviewed-on: http://codereview.qt.nokia.com/1268 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
parent
bb34372ad5
commit
11e27a210a
@ -44,4 +44,4 @@ class QAbstractEventDispatcher;
|
||||
Q_GUI_EXPORT QAbstractEventDispatcher* createUnixEventDispatcher();
|
||||
#else
|
||||
QAbstractEventDispatcher* createUnixEventDispatcher();
|
||||
#endif
|
||||
#endif
|
||||
|
@ -41,7 +41,11 @@
|
||||
|
||||
#include "qminimalintegration.h"
|
||||
#include "qminimalbackingstore.h"
|
||||
#ifndef Q_OS_WIN
|
||||
#include <QtPlatformSupport/private/qgenericunixeventdispatcher_p.h>
|
||||
#else
|
||||
#include <QtCore/private/qeventdispatcher_win_p.h>
|
||||
#endif
|
||||
|
||||
#include <QtGui/private/qpixmap_raster_p.h>
|
||||
#include <QtGui/QPlatformWindow>
|
||||
@ -83,6 +87,10 @@ QPlatformBackingStore *QMinimalIntegration::createPlatformBackingStore(QWindow *
|
||||
|
||||
QAbstractEventDispatcher *QMinimalIntegration::createEventDispatcher() const
|
||||
{
|
||||
#ifndef Q_OS_WIN
|
||||
return createUnixEventDispatcher();
|
||||
#else
|
||||
return new QEventDispatcherWin32();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user