#5389 Support for building GUI with VS2015

This commit is contained in:
Andrew Nelless 2016-06-23 11:42:38 +01:00 committed by Jerry (Xinyu Hou)
parent 1bb1b21f77
commit 6c58913899
1 changed files with 11 additions and 4 deletions

View File

@ -134,11 +134,18 @@ release {
MOC_DIR = tmp/release MOC_DIR = tmp/release
RCC_DIR = tmp/release RCC_DIR = tmp/release
} }
win32 { win32-g++ {
Debug:DESTDIR = ../../bin/Debug Debug:DESTDIR = ../../bin/Debug
Release:DESTDIR = ../../bin/Release Release:DESTDIR = ../../bin/Release
LIBS += -L"../../ext/bonjour/x64" \ LIBS += -L"../../ext/bonjour/x64" -ldnssd
-ldnssd INCLUDEPATH += "$$(BONJOUR_SDK_HOME)/Include/"
INCLUDEPATH += "$(BONJOUR_SDK_HOME)/Include" }
win32-msvc2015 {
Debug:DESTDIR = ../../bin/Debug
Release:DESTDIR = ../../bin/Release
LIBS += -L"$$(BONJOUR_SDK_HOME)/Lib/x64" -ldnssd
LIBS += -lAdvapi32
QMAKE_LFLAGS += /NODEFAULTLIB:LIBCMT
INCLUDEPATH += "$$(BONJOUR_SDK_HOME)/Include/"
} }
else:DESTDIR = ../../bin else:DESTDIR = ../../bin