diff options
| author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2025-01-17 18:15:27 +0100 |
|---|---|---|
| committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2025-01-20 17:51:56 +0100 |
| commit | ca9200910ee29663325e3f5930c74a55b2ffe31c (patch) | |
| tree | 89ca2f45f45702a209869c7ee61c7a8d835377c4 /src/plugins/sqldrivers/sqlite/qsql_sqlite.cpp | |
| parent | 34f60877bdb54786c62fd1bf5b44a81430aa411f (diff) | |
Do not rely on transitive includes when using libc++
Libc++ is migrating towards fine-grained headers [1], removing indirect
inclusions. To prevent breakages in client code, this feature is opt-in,
happening when one bumps the C++ version used or defines the
_LIBCPP_REMOVE_TRANSITIVE_INCLUDES macro.
This commit adds the macro when building Qt. I'm pretty confident this
won't cause breakages because we have also been building Qt on the CI in
C++ > 17 modes.
[1] https://libcxx.llvm.org/DesignDocs/HeaderRemovalPolicy.html
Change-Id: I7553274ef51ccc9b462c98fdab55b27e5715afaa
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/plugins/sqldrivers/sqlite/qsql_sqlite.cpp')
0 files changed, 0 insertions, 0 deletions
