How to make sure my compiled qt(or my application) linked against a specific DirectX library?
-
Hi.
Look at this issue:
https://forum.qt.io/topic/122071/can-t-play-video-on-windows-xp/20Long 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?
-
@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
-
I can't. Since VisualStudio 2013 not available for this os.
-
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.
-
Can i compile just multimedia against MSVC2010 and link it to my application that compiled with MSVC2013?
-
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. -
@Bonnie
I should stick with5.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.