From cff6e39cd1aea203751113124f6d05d4198cabcd Mon Sep 17 00:00:00 2001 From: kb Date: Sun, 13 May 2012 22:55:15 +0200 Subject: Remove capitalization when specifying include-libraries. MinGW installations on case-sensitive filesystems expect lowercase names of include-libraries and (usually) include files. When crosscompiling on Debian 6 (targeting MS Windows) linking fails because mingw is looking for non-existent include-libraries. Using lowercase names solves this. Change-Id: Id3454f4ed8ba42b6ea93d65d9c0ce567db6712df Reviewed-by: Friedemann Kleint Reviewed-by: Oswald Buddenhagen --- src/plugins/bearer/nla/nla.pro | 4 ++-- src/plugins/platforms/windows/windows.pro | 2 +- src/plugins/printsupport/windows/windows.pro | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/plugins') diff --git a/src/plugins/bearer/nla/nla.pro b/src/plugins/bearer/nla/nla.pro index 5444269f1f..29e98953b1 100644 --- a/src/plugins/bearer/nla/nla.pro +++ b/src/plugins/bearer/nla/nla.pro @@ -4,9 +4,9 @@ load(qt_plugin) QT = core core-private network network-private !wince* { - LIBS += -lWs2_32 + LIBS += -lws2_32 } else { - LIBS += -lWs2 + LIBS += -lws2 } HEADERS += qnlaengine.h \ diff --git a/src/plugins/platforms/windows/windows.pro b/src/plugins/platforms/windows/windows.pro index 5fcf9bfcc9..7b27a942bc 100644 --- a/src/plugins/platforms/windows/windows.pro +++ b/src/plugins/platforms/windows/windows.pro @@ -11,7 +11,7 @@ QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/platforms # Note: OpenGL32 must precede Gdi32 as it overwrites some functions. LIBS *= -lole32 !wince*:LIBS *= -lgdi32 -luser32 -lwinspool -limm32 -lwinmm -loleaut32 -contains(QT_CONFIG, opengl):LIBS *= -lOpenGL32 +contains(QT_CONFIG, opengl):LIBS *= -lopengl32 win32-g++: LIBS *= -luuid # For the dialog helpers: !wince*:LIBS *= -lshlwapi -lshell32 diff --git a/src/plugins/printsupport/windows/windows.pro b/src/plugins/printsupport/windows/windows.pro index 97d90a6a9d..3c5f22d411 100644 --- a/src/plugins/printsupport/windows/windows.pro +++ b/src/plugins/printsupport/windows/windows.pro @@ -19,4 +19,4 @@ OTHER_FILES += windows.json target.path += $$[QT_INSTALL_PLUGINS]/printsupport INSTALLS += target -LIBS += -lWinspool -lComdlg32 +LIBS += -lwinspool -lcomdlg32 -- cgit v1.2.3