diff --git a/src/gui/gui.pro b/src/gui/gui.pro index 408d44dd..93e9bbf2 100644 --- a/src/gui/gui.pro +++ b/src/gui/gui.pro @@ -134,11 +134,18 @@ release { MOC_DIR = tmp/release RCC_DIR = tmp/release } -win32 { +win32-g++ { Debug:DESTDIR = ../../bin/Debug Release:DESTDIR = ../../bin/Release - LIBS += -L"../../ext/bonjour/x64" \ - -ldnssd - INCLUDEPATH += "$(BONJOUR_SDK_HOME)/Include" + LIBS += -L"../../ext/bonjour/x64" -ldnssd + 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