diff options
author | Alexey Edelev <alexey.edelev@qt.io> | 2021-02-08 15:56:39 +0100 |
---|---|---|
committer | Alexey Edelev <alexey.edelev@qt.io> | 2021-02-09 15:49:47 +0100 |
commit | 43cb801ccb10e2d9efd230803822761b794fd4fb (patch) | |
tree | b94ea231621b6db8ba2cb03e35208c154756b800 /src/corelib/doc | |
parent | a289bc84c6fe4494ac3a60ca7084cfda3a3f1994 (diff) |
Fix compilation of the QPSQLDriverPlugin plugin with enabled PCH
PostgreSQL package delivers several header files such as pthread, zlib,
zconf, uuid, etc. within Windows installation package. The headers are
exposed to the compiler by PostgreSQL include paths and have different
versions. When compiling PCH of the QPSQLDriverPlugin plugin, MinGW uses
the pthread.h header from the PostgreSQL include paths, that cause an
error related to pthread implementation mismatch.
Disable PCH for the QPSQLDriverPlugin plugin, when using MinGW.
Fixes: QTBUG-90850
Change-Id: I0be91bbefe37731acb2658d679b5b644ef552b23
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/corelib/doc')
0 files changed, 0 insertions, 0 deletions