Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.9.1
-
d293f071f5b5c4bdafa4bfcf55c778d09bf9661d
Description
Qxcbconnection fails to build with Xinput 2.0 since an ifdef is missing from qtbase/src/plugins/platforms/xcb/qxcbconnection_xi.cpp:1029.
QXcbConnection::isTouchScreen() needs to be wrapped with #ifdef XCB_USE_XINPUT22 as it is done in the header.
#ifdef XCB_USE_XINPUT22 bool QXcbConnection::isTouchScreen(int id) const { auto device = m_touchDevices.value(id); return device && device->qtTouchDevice && device->qtTouchDevice->type() == QTouchDevice::TouchScreen; } #endif
Attachments
For Gerrit Dashboard: QTBUG-62226 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
202770,3 | Add missing #ifdef for isTouchScreen() implementation | 5.9 | qt/qtbase | Status: MERGED | +2 | 0 |