qmsetup @ 35836d | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/core/contexts/win32windowcontext.cpp | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
qmsetup
@@ -1 +1 @@ Subproject commit 64fad7bf42626f5b5dd5a5b1aa94c0ad93d4e13e Subproject commit 35836d6e80f4395f187e58d94e2030b615d757e9 src/core/contexts/win32windowcontext.cpp
@@ -78,7 +78,7 @@ #undef DYNAMIC_API_DECLARE DynamicApis() { #define DYNAMIC_API_RESOLVE(DLL, NAME) p##NAME = reinterpret_cast<decltype(p##NAME)>(DLL##.resolve(#NAME)) #define DYNAMIC_API_RESOLVE(DLL, NAME) p##NAME = reinterpret_cast<decltype(p##NAME)>(DLL.resolve(#NAME)) QSystemLibrary user32(QStringLiteral("user32")); DYNAMIC_API_RESOLVE(user32, GetDpiForWindow);