Fix gui build without feature.highdpiscaling
Change-Id: Ic206cb6fa1b9fae1db9923ef6596852e93b3cbe5 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
This commit is contained in:
parent
b61d52f98a
commit
b75e6e00b7
@ -413,6 +413,8 @@ public:
|
||||
static inline QPoint origin(const QPlatformScreen *) { return QPoint(); }
|
||||
static inline QPoint mapPositionFromNative(const QPoint &pos, const QPlatformScreen *) { return pos; }
|
||||
static inline QPoint mapPositionToNative(const QPoint &pos, const QPlatformScreen *) { return pos; }
|
||||
static inline QPoint mapPositionToGlobal(const QPoint &pos, const QPoint &windowGlobalPosition, const QWindow *window) { return pos; }
|
||||
static inline QPoint mapPositionFromGlobal(const QPoint &pos, const QPoint &windowGlobalPosition, const QWindow *window) { return pos; }
|
||||
static inline QDpi logicalDpi() { return QDpi(-1,-1); }
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user