fix build for standard DirectX install paths

Evaluate the environment variable DXSDK_DIR at qmake time.
This makes sure, the contents get properly quoted, even if the DirectX
SDK is installed into a path that contains spaces.

Change-Id: Id22f56448eef4d392af77e97f46308f1b486c7c7
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
This commit is contained in:
Joerg Bornemann
2012-12-05 13:05:53 +01:00
committed by The Qt Project
parent 945e8c9f8e
commit 9f10ff8e9a

View File

@@ -28,5 +28,5 @@ SOURCES += \
SOURCES += $$PWD/dsvideowidgetcontrol.cpp
}
*-msvc*:INCLUDEPATH += $(DXSDK_DIR)/include
*-msvc*:INCLUDEPATH += $$(DXSDK_DIR)/include
LIBS += -lstrmiids -ldmoguids -luuid -lmsdmo -lole32 -loleaut32