summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/winrt/winrt.pro
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@qt.io>2017-12-12 12:21:16 +0100
committerOswald Buddenhagen <oswald.buddenhagen@qt.io>2018-12-17 21:29:05 +0000
commit1ef9859e7e0b0d2a88acd287b5b1e4bea8b27ae8 (patch)
tree6df0486c7f2c02294762446349431c29f4cf988b /src/plugins/platforms/winrt/winrt.pro
parentbd05a009f0f9119dccf912550a6b44f825a9400b (diff)
configure: refactor directx checks
properly atomize the libraries and express their dependencies, and adjust the project files accordingly. note that we don't try to use any additional paths, as all SDKs we currently support have built-in directx 11 support: - msvc2013 comes with win sdk 8.1; that is also used for win7 targets - mingw-64 5.3 (though this one is missing fxc, which is why the code path for using an external sdk for that remains) Change-Id: Ib44e389ef46567308293c2bbcad20a96e8ef70c7 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/plugins/platforms/winrt/winrt.pro')
-rw-r--r--src/plugins/platforms/winrt/winrt.pro3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/platforms/winrt/winrt.pro b/src/plugins/platforms/winrt/winrt.pro
index 6a847465e4..43132a1a76 100644
--- a/src/plugins/platforms/winrt/winrt.pro
+++ b/src/plugins/platforms/winrt/winrt.pro
@@ -8,7 +8,8 @@ QT += \
DEFINES *= QT_NO_CAST_FROM_ASCII __WRL_NO_DEFAULT_LIB__
-LIBS += -lws2_32 -ld3d11
+LIBS += -lws2_32
+QMAKE_USE_PRIVATE += d3d11
SOURCES = \
main.cpp \