Qt 5.6 windows xp QCameraInfo::availableCameras()

  • When I build and deploy dynamically with Qt 5.5.1 my program works on windows xp but when I build and deploy dynamically with Qt 5.6.0 QCameraInfo::availableCameras().count() returns 0 on windows xp. The Qt 5.6.0 build works on windows versions vista and above. I replaced the deployed Qt 5.6.0 mediaservice folder with the mediaservice folder from the deployed Qt 5.5.1 and QCameraInfo::availableCameras().count() correctly returns the number of cameras and the program works.

    A static build of the program with Qt 5.6.0 run on windows xp gives "The procedure entry point Direct3DCreate9Ex could not be located in the dynamic link library d3d9.dll". It runs no problems on windows vista and above.

    A static build with Qt 5.5.1 runs no problems on windows xp and above.

    Is this a bug in Qt 5.6.0?

  • Lifetime Qt Champion

    As far as I know Qt 5.6 does not support Windows XP any more, so no it is not a bug.
    If you really need to support XP then you can still use Qt 5.5.1

Log in to reply