DirectWrite support on MinGW needs _WIN32_WINNT to be set to 0x0600
The file qwindowsfontenginedirectwrite.cpp uses the Win32 API function GetUserDefaultLocaleName which requires _WIN32_WINNT to be set to 0x0600 as it only became available in Windows Vista Change-Id: I704705d3fc729bb0167121de991d01c957e1e7e4 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>bb10
parent
40fb2ea92a
commit
225a835777
|
|
@ -41,6 +41,11 @@
|
|||
|
||||
#ifndef QT_NO_DIRECTWRITE
|
||||
|
||||
#if _WIN32_WINNT < 0x0600
|
||||
#undef _WIN32_WINNT
|
||||
#define _WIN32_WINNT 0x0600
|
||||
#endif
|
||||
|
||||
#include "qwindowsfontenginedirectwrite.h"
|
||||
#include "qwindowsfontdatabase.h"
|
||||
#include "qwindowscontext.h"
|
||||
|
|
|
|||
Loading…
Reference in New Issue