Details
-
Bug
-
Resolution: Won't Do
-
P4: Low
-
None
-
5.12.9, 5.15.15
Description
Running any QGamepad/QGamepadManager code I get continuous (i.e. every 5 seconds or so) repeats of messages like:
onecore\com\combase\objact\objact.cxx(834)\combase.dll!00007FF8BA71C7F7: (caller: 00007FF8BA71BB76) ReturnHr(1) tid(3c74) 800401F0 CoInitialize has not been called.
Aside from just being annoying it makes debugging my own code problematic, as many times debug output I want to see is obscured by these messages.....
This occurs in our own code or any of the QGamepad sample programs. Adding a call to CoInitializeEx() in main() and adding ole32.lib to LIBS in the .pro file seems to solve the problem.
I would've assumed this should all be handled by Qt += gamepad in the .pro file.
Attachments
Issue Links
- relates to
-
QTBUG-81466 "CoInitialize has not been called" spam in debugger
- Open