mirror of
https://github.com/wang-bin/QtAV.git
synced 2026-10-28 19:16:48 +08:00
d3d11.h in mingw64<v5 is not complete, no video decoder there. So the latest d3d11.h from vs is used. other dependencies like d3d11layers.h, d3d10.h are already in mingw64. Toolchain provided by qt does not contains wrl and d3d11layers.h, use mingw-builds instead. xaudio2 still use 2.8. tested on mingw64 gcc 4.9, 5.3 remove d2d1headers because d2d1 is supported by most toolchains (gcc4.7, vs2010 for example)
9 lines
533 B
Plaintext
9 lines
533 B
Plaintext
TEMPLATE = lib # can not create exe for some platforms (winrt, ios). If check header only, staticlib is fine
|
|
# not static lib because sometimes we need to check link flags. if qt is static build, this chek may fail. we don't test link for static build because it's impossible to add all dependencies to link flags
|
|
INCLUDEPATH += $$[QT_INSTALL_HEADERS]
|
|
LIBS += -L$$[QT_INSTALL_LIBS]
|
|
CONFIG -= qt app_bundle lib_bundle
|
|
CONFIG += console
|
|
*msvc*: INCLUDEPATH *= $$PWD/../src/compat/msvc
|
|
!config_dx: INCLUDEPATH *= $$PWD/../contrib/dxsdk
|