Commit 9ebf1449 authored by pixhawk's avatar pixhawk

Fixed windows compile error

parent 8502ff63
......@@ -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
......
......@@ -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!");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment