Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Qt 5.6 windows xp QCameraInfo::availableCameras()

    General and Desktop
    2
    2
    751
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jim_r
      jim_r last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • jsulm
        jsulm Lifetime Qt Champion last edited by

        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

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 0
        • First post
          Last post