Qt QT_NO_TABLET, QT_NO_TABLETEVENT build bug?
Hello everyone.
May be this is a bug.
While configuring and compiling Qt with QT_NO_TABLET, QT_NO_TABLETEVENT, i get error about QTabletDeviceData undefined.
in qapplication_p.h
found a guarded section with QTabletDeviceData defenition
Code:
#ifndef QT_NO_TABLET
struct QTabletDeviceData
{
however in qapplication_win.cpp
there is an unguarded section containing:
Code:
typedef QHash<quint64, QTabletDeviceData> QTabletCursorInfo;
Q_GLOBAL_STATIC(QTabletCursorInfo, tCursorInfo)
QTabletDeviceData currentTabletPointer;
Anyone can explain this?
Re: Qt QT_NO_TABLET, QT_NO_TABLETEVENT build bug?
Indeed looks like a bug if there are no other guards around. You should probably report it.