Commit bc395332 authored by Hugo Vincent's avatar Hugo Vincent

Merge

parents 78b9e3f5 fc050481
...@@ -58,21 +58,21 @@ message(Qt version $$[QT_VERSION]) ...@@ -58,21 +58,21 @@ message(Qt version $$[QT_VERSION])
# MAC OS X # MAC OS X
macx { macx {
message(Building for Mac OS X) message(Building for Mac OS X)
CONFIG += x86_64 CONFIG += x86_64
CONFIG -= x86 static CONFIG -= x86 static
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.5 QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.5
DESTDIR = $$BASEDIR/bin/mac DESTDIR = $$BASEDIR/bin/mac
INCLUDEPATH += -framework SDL \ INCLUDEPATH += -framework SDL \
$$BASEDIR/MAVLink/src $$BASEDIR/MAVLink/src
LIBS += -framework IOKit \ LIBS += -framework IOKit \
-framework SDL \ -framework SDL \
-framework CoreFoundation \ -framework CoreFoundation \
-framework ApplicationServices \ -framework ApplicationServices \
-lm -lm
DEFINES += _TTY_POSIX_ DEFINES += _TTY_POSIX_
...@@ -129,26 +129,18 @@ linux-g++ { ...@@ -129,26 +129,18 @@ linux-g++ {
} }
# Windows (32bit) # Windows (32bit/64bit)
win32 { win32 {
message(Building for Windows Platform (32/64bit)) message(Building for Windows Platform (32/64bit))
# Special settings for debug # Special settings for debug
#CONFIG += CONSOLE #CONFIG += CONSOLE
LIBS += -L$$BASEDIR\lib\sdl\win32 \ LIBS += -L$$BASEDIR\lib\sdl\win32 \
-lmingw32 -lSDLmain -lSDL -mwindows -lmingw32 -lSDLmain -lSDL -mwindows
INCLUDEPATH += $$BASEDIR/lib/sdl/include/SDL INCLUDEPATH += $$BASEDIR/lib/sdl/include/SDL
#LIBS += -L$$BASEDIR\lib\qextserialport\win32 \
# -lqextserialport \
# -lsetupapi
# -L$$BASEDIR/lib/openjaus/libjaus/lib/win32 \
# -ljaus \
# -L$$BASEDIR/lib/openjaus/libopenJaus/lib/win32 \
# -lopenjaus
DEFINES += _TTY_WIN_ DEFINES += _TTY_WIN_
debug { debug {
......
...@@ -17,7 +17,9 @@ DEPENDPATH += . \ ...@@ -17,7 +17,9 @@ DEPENDPATH += . \
lib/QMapControl/src lib/QMapControl/src
INCLUDEPATH += . \ INCLUDEPATH += . \
lib/QMapControl \ lib/QMapControl \
../mavlink/src ../mavlink/src \
MAVLink/src \
mavlink/src
# Input # Input
FORMS += src/ui/MainWindow.ui \ FORMS += src/ui/MainWindow.ui \
......
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