From 9ebf1449b5b094f47a5eefa2df201c21cd06dcc3 Mon Sep 17 00:00:00 2001 From: pixhawk Date: Tue, 13 Apr 2010 21:51:34 +0200 Subject: [PATCH] Fixed windows compile error --- qgroundcontrol.pri | 8 ++++++-- src/GAudioOutput.cc | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/qgroundcontrol.pri b/qgroundcontrol.pri index 4a2a17eed..aa26f00d4 100644 --- a/qgroundcontrol.pri +++ b/qgroundcontrol.pri @@ -40,6 +40,10 @@ OBJECTS_DIR = $$BUILDDIR/obj MOC_DIR = $$BUILDDIR/moc UI_HEADERS_DIR = src/ui/generated +#$$BASEDIR/lib/qextserialport/include +# $$BASEDIR/lib/openjaus/libjaus/include \ +# $$BASEDIR/lib/openjaus/libopenJaus/include + message(Qt version $$[QT_VERSION]) @@ -128,8 +132,8 @@ win32 { LIBS += -L$$BASEDIR\lib\sdl\win32 \ -lmingw32 -lSDLmain -lSDL -mwindows - INCLUDEPATH += $$BASEDIR/lib/sdl/include \ - "C:\Program Files\Microsoft SDKs\Windows\v7.0\Include" + INCLUDEPATH += $$BASEDIR/lib/sdl/include #\ + #"C:\Program Files\Microsoft SDKs\Windows\v7.0\Include" debug { DESTDIR = $$BASEDIR/bin diff --git a/src/GAudioOutput.cc b/src/GAudioOutput.cc index 0eec50a05..7be36f7f3 100644 --- a/src/GAudioOutput.cc +++ b/src/GAudioOutput.cc @@ -119,7 +119,7 @@ bool GAudioOutput::say(QString text, int severity) { // Speech synthesis is only supported with MSVC compiler -#if _MSC_VER +#ifdef _MSC_VER SpeechSynthesizer synth = new SpeechSynthesizer(); synth.SelectVoice("Microsoft Anna"); synth.SpeakText("Hello, world!"); -- 2.22.0