Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to make sure my compiled qt(or my application) linked against a specific DirectX library?
Forum Updated to NodeBB v4.3 + New Features

How to make sure my compiled qt(or my application) linked against a specific DirectX library?

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 3 Posters 629 Views 1 Watching
  • 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.
  • LinArcXL Offline
    LinArcXL Offline
    LinArcX
    wrote on last edited by LinArcX
    #1

    Hi.
    Look at this issue:
    https://forum.qt.io/topic/122071/can-t-play-video-on-windows-xp/20

    Long story short: I compiled qt 5.6.3 on windows7 that has DirectX11 and created A WidgetBased application that uses this kit and deployed it on windows xp that has DirectX9.

    I want to know that is there anyway to compile qt(or qtmultimedia module) against a specific version of DirectX, say 9?

    1 Reply Last reply
    0
    • Christian EhrlicherC Online
      Christian EhrlicherC Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @LinArcX said in How to make sure my compiled qt(or my application) linked against a specific DirectX library?:

      I want to know that is there anyway to compile qt(or qtmultimedia module) against a specific version of DirectX, say 9?

      No direct. Comile Qt on WinXP where DirectX11 is not available

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      LinArcXL 1 Reply Last reply
      0
      • Christian EhrlicherC Christian Ehrlicher

        @LinArcX said in How to make sure my compiled qt(or my application) linked against a specific DirectX library?:

        I want to know that is there anyway to compile qt(or qtmultimedia module) against a specific version of DirectX, say 9?

        No direct. Comile Qt on WinXP where DirectX11 is not available

        LinArcXL Offline
        LinArcXL Offline
        LinArcX
        wrote on last edited by
        #3

        @Christian-Ehrlicher

        I can't. Since VisualStudio 2013 not available for this os.

        1 Reply Last reply
        0
        • Christian EhrlicherC Online
          Christian EhrlicherC Online
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Then you have to use an older MSVC. If you want to support such old stuff you have to make sure you've a dev environment which supports it too.

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          LinArcXL 1 Reply Last reply
          0
          • Christian EhrlicherC Christian Ehrlicher

            Then you have to use an older MSVC. If you want to support such old stuff you have to make sure you've a dev environment which supports it too.

            LinArcXL Offline
            LinArcXL Offline
            LinArcX
            wrote on last edited by
            #5

            @Christian-Ehrlicher

            Can i compile just multimedia against MSVC2010 and link it to my application that compiled with MSVC2013?

            1 Reply Last reply
            0
            • B Offline
              B Offline
              Bonnie
              wrote on last edited by
              #6

              @LinArcX

              Can i compile just multimedia against MSVC2010 and link it to my application that compiled with MSVC2013?

              That's not possible.
              But I'm sure it is possible to build a dll linking to dx libs by msvc2013 on windows 7 and loadable on xp, because I had done that years ago (but maybe not the same libs with qt multimedia).
              Unfortunately I don't have that enviroment anymore (msvc2013/win7/standalone directx), so I can't tell how.
              One choice is to just use the prebuilt 5.5.1, as I remember it supports xp well.

              LinArcXL 1 Reply Last reply
              0
              • B Bonnie

                @LinArcX

                Can i compile just multimedia against MSVC2010 and link it to my application that compiled with MSVC2013?

                That's not possible.
                But I'm sure it is possible to build a dll linking to dx libs by msvc2013 on windows 7 and loadable on xp, because I had done that years ago (but maybe not the same libs with qt multimedia).
                Unfortunately I don't have that enviroment anymore (msvc2013/win7/standalone directx), so I can't tell how.
                One choice is to just use the prebuilt 5.5.1, as I remember it supports xp well.

                LinArcXL Offline
                LinArcXL Offline
                LinArcX
                wrote on last edited by
                #7

                @Bonnie
                I should stick with 5.6.3 and as i know it doesn't support Xp by default.(You should compile it and pass -target xp to configure)

                Maybe i should downgrade my msvc to 2010, build multimedia module on Xp with ds9 and build rest of qt on windows7 with default DirectX.

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved