I am facing the same problem recently, so i want to know did you solve it?
Besides, I have added the CyAPI.lib,User32.lib, SetupAPI.lib,legacy_stdio_definitions.lib as static lib to my project .
Can you please brief on what issue you are facing when using CyAPI.lib?
CyAPI.lib library is independent of QT.
Looks like you are trying to develop Graphical User Interface to use CyAPI.lib. I recommend you to use the windows forms in Visual Studios.
Our applications like Control Center, Streamer, Bulkloop test applications are all based on Windows Forms.