Details
-
Bug
-
Resolution: Won't Do
-
P3: Somewhat important
-
None
-
5.7.0
-
None
-
Windows 7 x86, Qt 5.7.0 (both MinGW and MSVC version have the problem)
Description
Qt Gamepad doesn't detect my gamepads (I use Genius g-08-xu). Windows Control Panel detects my gamepads and reacts on button pressure.
Output of a program with QT_DEBUG_PLUGINS=1 env variable:
QFactoryLoader::QFactoryLoader() checking directory path "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/gamepads" ... QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/gamepads/xinputgamepad.dll" Found metadata in lib C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/gamepads/xinputgamepad.dll, metadata= { "IID": "com.bsquask.Qt.Gamepad.QtGamepadBackendFactoryInterface.5.5", "MetaData": { "Keys": [ "xinput" ] }, "className": "QXInputGamepadBackendPlugin", "debug": false, "version": 329472 } Got keys from plugin meta data ("xinput") QFactoryLoader::QFactoryLoader() looking at "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/gamepads/xinputgamepadd.dll" Found metadata in lib C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/gamepads/xinputgamepadd.dll, metadata= { "IID": "com.bsquask.Qt.Gamepad.QtGamepadBackendFactoryInterface.5.5", "MetaData": { "Keys": [ "xinput" ] }, "className": "QXInputGamepadBackendPlugin", "debug": true, "version": 329472 } "The plugin 'C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/gamepads/xinputgamepadd.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)" not a plugin QFactoryLoader::QFactoryLoader() checking directory path "C:/build-gamepadexample-Desktop_Qt_5_7_0_MinGW_32bit-Release/release/gamepads" ... loaded library "C:/Qt/Qt5.7.0/5.7/mingw53_32/plugins/gamepads/xinputgamepad.dll" loaded library "xinput1_4.dll" loaded library "xinput1_3.dll"