diff options
-rw-r--r-- | src/gui/doc/qtgui.qdocconf | 3 | ||||
-rw-r--r-- | src/gui/kernel/qtouchdevice.cpp | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/gui/doc/qtgui.qdocconf b/src/gui/doc/qtgui.qdocconf index 94574a314c..bac93af775 100644 --- a/src/gui/doc/qtgui.qdocconf +++ b/src/gui/doc/qtgui.qdocconf @@ -39,7 +39,8 @@ depends += \ qtquick \ qtwidgets \ qtdoc \ - qmake + qmake \ + qttestlib headerdirs += .. diff --git a/src/gui/kernel/qtouchdevice.cpp b/src/gui/kernel/qtouchdevice.cpp index 97cc8d179d..0f13412fb1 100644 --- a/src/gui/kernel/qtouchdevice.cpp +++ b/src/gui/kernel/qtouchdevice.cpp @@ -215,7 +215,10 @@ static void cleanupDevicesList() /*! Returns a list of all registered devices. - \note The returned list cannot be used to add new devices. Use QWindowSystemInterface::registerTouchDevice() instead. + \note The returned list cannot be used to add new devices. To add a simulated + touch screen for an autotest, QTest::createTouchDevice() can be used. + To add real touch screens to QPA plugins, the private + \c QWindowSystemInterface::registerTouchDevice() function can be used. */ QList<const QTouchDevice *> QTouchDevice::devices() { |