Windows/Direct2D QPA: Fix build with -no-accessibility

Task-number: QTBUG-63876
Change-Id: Ib9216977dd495e05d032e679c2f23ffe6a6953a6
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
This commit is contained in:
Friedemann Kleint 2017-10-19 13:22:36 +02:00
parent c05268222c
commit dcc8aa8f4e
2 changed files with 6 additions and 2 deletions

View File

@ -2,9 +2,11 @@ TARGET = qdirect2d
QT += \
core-private gui-private \
eventdispatcher_support-private accessibility_support-private \
eventdispatcher_support-private \
fontdatabase_support-private theme_support-private
qtConfig(accessibility): QT += accessibility_support-private
LIBS += -ldwmapi -ld2d1 -ld3d11 -ldwrite -lVersion -lgdi32
include(../windows/windows.pri)

View File

@ -2,9 +2,11 @@ TARGET = qwindows
QT += \
core-private gui-private \
eventdispatcher_support-private accessibility_support-private \
eventdispatcher_support-private \
fontdatabase_support-private theme_support-private
qtConfig(accessibility): QT += accessibility_support-private
LIBS += -lgdi32 -ldwmapi
include(windows.pri)