diff options
author | Maurice Kalinowski <maurice.kalinowski@qt.io> | 2017-03-21 09:19:46 +0100 |
---|---|---|
committer | Maurice Kalinowski <maurice.kalinowski@qt.io> | 2017-03-21 08:55:59 +0000 |
commit | 703f0ec4cba205e8adae8cf36c29ee62149941fb (patch) | |
tree | 7c5695bb7f68e4dff9e7adbe1c31896f7aee696b | |
parent | 086e0b70ac69987441481055a935c31fe89d03f4 (diff) | |
download | qtmultimedia-703f0ec4cba205e8adae8cf36c29ee62149941fb.tar.gz |
wasapi: Define CLASSIC_APP_BUILD for desktop build
This partly reverts 7e48870c182e66a8408bbcb4c9469d751a777daa. The define
is still needed for successful compilation of the wasapi backend on
windows desktop.
Change-Id: I1be1c08f5dd4a4cf5e0fa2211f0f8b330b0204a9
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
-rw-r--r-- | src/plugins/wasapi/wasapi.pro | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/wasapi/wasapi.pro b/src/plugins/wasapi/wasapi.pro index 63409ce72..11dfd8abe 100644 --- a/src/plugins/wasapi/wasapi.pro +++ b/src/plugins/wasapi/wasapi.pro @@ -20,7 +20,10 @@ OTHER_FILES += \ LIBS += Mmdevapi.lib -win32-*: LIBS += runtimeobject.lib +win32-* { + DEFINES += CLASSIC_APP_BUILD + LIBS += runtimeobject.lib +} PLUGIN_TYPE = audio PLUGIN_CLASS_NAME = QWasapiPlugin |