Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P3: Somewhat important
-
Resolution: Done
-
Affects Version/s: 5.9
-
Fix Version/s: 5.11.0 Beta 2
-
Component/s: Build System
-
Labels:None
-
Environment:Unix-based platforms (including Mac).
-
Commits:cb2a6f6a9f864fa38c45a049b9394ec4403e1aad
Description
pcre and pcre2 can be configured to install their headers in a directory under the install prefix, which can be useful to avoid having to add `-I$prefix/include` to the compiler options.
When this is done, the build system will try to use Qt's own copy of the pcre2 libraries, or raise an error when `#include <pcre2.h>` fails.
Getting the correct compiler options via pkgconfig appears to be trivial, in qtbase/src/corelib/configure.json