Qt 6.7.1 Android Missing Input Handlings
-
Hi,
I am using Ubuntu 22.04 and Qt 6.7.1 for Android arm64v8.
I want to compile a project which includes the following line: https://github.com/osos11-Git/qtgamepadlegacy/blob/dev_android_fix/src/plugins/gamepads/android/src/qandroidgamepadbackend_p.h#L52Qt can't find "GenericMotionEventListener" and "KeyEventListener" because these two have been moved to another class. I found information about this, but I don't know what I should do to include the other class on the project: https://codereview.qt-project.org/c/qt/qtbase/+/504570/3
Does anyone have any ideas for this situation?
Thanks.
-
@osos11 said in Qt 6.7.1 Android Missing Input Handlings:
because these two have been moved to another class
Then include the header file of that class or use older Qt version to build this project if you do not want to modify its source code.
-
@osos11 said in Qt 6.7.1 Android Missing Input Handlings:
I couldn't find the header path of the new class.
If I'm not mistaken it went here
-
Yeah, unfortunately dealing with the same fallout from the move into the platform plugins. Even with the header you'd need to figure out how to get CMake to link the gamepad plugin to the Qt Core platform plugin.
Generally this looks like an ill-considered relocation of these particular classes/functions since the only place I can find them used is by QtGamepad and it's QtUniversalInput successor.
-
Looks like the fixed this issue with a partial revert for Qt 6.8+ See: https://codereview.qt-project.org/c/qt/qtbase/+/566570
Wish they'd back port to 6.7, but I understand...