MinGW: Fix static direct2d plugin build using PCH
Ammends 27499d25fb
The value used to create the PCHs for _WIN32_WINNT is 0x601, and
qwindowspointerhandler.cpp requires for MinGW 0x603. Since the
precompile header value cannot be undefined while compiling the
source file, it's better not to use the PCH for this particular
source file.
Change-Id: I2dc10fa11f0a796c2d21d8880e32e911359f1602
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
113f1ad324
commit
5216c56110
@ -275,3 +275,9 @@ qt_internal_extend_target(QWindowsDirect2DIntegrationPlugin CONDITION MINGW AND
|
||||
PUBLIC_LIBRARIES
|
||||
uuid
|
||||
)
|
||||
|
||||
# begin special case
|
||||
if (MINGW)
|
||||
set_source_files_properties(../windows/qwindowspointerhandler.cpp PROPERTIES SKIP_PRECOMPILE_HEADERS ON)
|
||||
endif()
|
||||
# end special case
|
||||
|
Loading…
Reference in New Issue
Block a user