From b6730e45bb25f37f74ee858cbf3bed11b7ff711b Mon Sep 17 00:00:00 2001 From: pixhawk Date: Mon, 8 Nov 2010 08:38:32 +0100 Subject: [PATCH] Support for 64bit windows --- qgroundcontrol.pri | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/qgroundcontrol.pri b/qgroundcontrol.pri index 4091a3b46..8621b189c 100644 --- a/qgroundcontrol.pri +++ b/qgroundcontrol.pri @@ -157,10 +157,10 @@ linux-g++-64 { } -# Windows (32bit/64bit) +# Windows (32bit) win32 { - message(Building for Windows Platform (32/64bit)) + message(Building for Windows Platform (32bit)) # Special settings for debug #CONFIG += CONSOLE @@ -185,5 +185,31 @@ win32 { RC_FILE = $$BASEDIR/qgroundcontrol.rc } +# Windows (64bit) +win64 { + message(Building for Windows Platform (64bit)) + + # Special settings for debug + #CONFIG += CONSOLE + + INCLUDEPATH += $$BASEDIR\lib\sdl\include \ + $$BASEDIR\lib\opal\include #\ #\ + #"C:\Program Files\Microsoft SDKs\Windows\v7.0\Include" + + LIBS += -L$$BASEDIR\lib\sdl\win32 \ + -lmingw32 -lSDLmain -lSDL -mwindows + + + + debug { + DESTDIR = $$BASEDIR/bin + } + + release { + DESTDIR = $$BASEDIR/bin + } + + RC_FILE = $$BASEDIR/qgroundcontrol.rc +} -- 2.22.0