Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-57389

Qt Gamepad Configuration on Windows doesn't work

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.7.0
    • Fix Version/s: None
    • Component/s: GamePad
    • Labels:
      None
    • Environment:
      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"

      Discussion in forum

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              janichol Andy Nichols
              Reporter:
              timure Timur Enikeev
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes