forked from qt-creator/qt-creator
Fix caplitalization for MinGW-w64 cross compilation.
MinGW-w64 cross compilation packages always use lower-case filenames. library name "Ws2_32" changed to "ws2_32" include name "Windows.h" changed to "windows.h" Change-Id: I405f2e23c3f136961f66fc5e1d0d98f760c46e2c Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
committed by
Daniel Teske
parent
3e2e21897d
commit
b06c38d4d7
@@ -35,7 +35,7 @@
|
||||
#error Must target Windows NT 5.0.1 or later for DebugBreakProcess
|
||||
#endif
|
||||
|
||||
#include <Windows.h>
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
|
||||
/* To debug break a 64bit application under Windows, you must call
|
||||
|
||||
@@ -24,5 +24,5 @@ SOURCES += \
|
||||
$${UTILSDIR}/portlist.cpp \
|
||||
$${UTILSDIR}/tcpportsgatherer.cpp
|
||||
|
||||
win32:LIBS += -liphlpapi -lWs2_32
|
||||
win32:LIBS += -liphlpapi -lws2_32
|
||||
SOURCES += main.cpp
|
||||
|
||||
@@ -16,7 +16,7 @@ Application {
|
||||
|
||||
Properties {
|
||||
condition: qbs.targetOS == "windows"
|
||||
cpp.dynamicLibraries: [ "iphlpapi.lib", "Ws2_32.lib" ]
|
||||
cpp.dynamicLibraries: [ "iphlpapi.lib", "ws2_32.lib" ]
|
||||
}
|
||||
|
||||
Depends { name: "cpp" }
|
||||
|
||||
Reference in New Issue
Block a user