diff noconfig.pri @ 2199:be656d45bda0 bqaudiostream

Opus fix for win32
author Chris Cannam
date Wed, 30 Jan 2019 10:31:36 +0000
parents 1a9541992121
children e1adac799317
line wrap: on
line diff
--- a/noconfig.pri	Fri Jan 25 13:49:59 2019 +0000
+++ b/noconfig.pri	Wed Jan 30 10:31:36 2019 +0000
@@ -1,8 +1,8 @@
 
 CONFIG += c++14
 
-#CONFIG += release
-CONFIG += debug
+CONFIG += release
+#CONFIG += debug
 
 PREFIX_PATH = /usr/local
 
@@ -59,19 +59,21 @@
 
     # This config is currently used for 32-bit Windows builds.
 
-    INCLUDEPATH += $$PWD/sv-dependency-builds/win32-mingw/include
+    INCLUDEPATH += $$PWD/sv-dependency-builds/win32-mingw/include $$PWD/sv-dependency-builds/win32-mingw/include/opus
 
     LIBS += -Lrelease -L$$PWD/sv-dependency-builds/win32-mingw/lib
 
-    DEFINES += NOMINMAX _USE_MATH_DEFINES CAPNP_LITE HAVE_MEDIAFOUNDATION
+    DEFINES += NOMINMAX _USE_MATH_DEFINES CAPNP_LITE
 
     QMAKE_CXXFLAGS_RELEASE += -ffast-math
 
     # Don't have liblo
     DEFINES -= HAVE_LIBLO
     LIBS -= -llo
+
+    # (We don't have MediaFoundation support either, with this build sadly)
     
-    LIBS += -lmfplat -lmfreadwrite -lmfuuid -lpropsys -lwinmm -lws2_32 
+    LIBS += -lwinmm -lws2_32 
 }
 
 win32-msvc* {