Fix build with QT_NO_CURSOR
The the static cursor methods still need to be compiled. Change-Id: Ic92eb706af67d3c2645e45cd91cb099c3263a869 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>bb10
parent
af90eec11c
commit
5544ae9eb3
|
|
@ -33,8 +33,6 @@
|
|||
|
||||
#include "qcursor.h"
|
||||
|
||||
#ifndef QT_NO_CURSOR
|
||||
|
||||
#include <qcoreapplication.h>
|
||||
#include <qbitmap.h>
|
||||
#include <qimage.h>
|
||||
|
|
@ -259,6 +257,8 @@ void QCursor::setPos(int x, int y)
|
|||
QCursor::setPos(QGuiApplication::primaryScreen(), x, y);
|
||||
}
|
||||
|
||||
#ifndef QT_NO_CURSOR
|
||||
|
||||
/*!
|
||||
\fn void QCursor::setPos (const QPoint &p)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue