Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.9
-
None
-
Unix-based platforms (including Mac).
-
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
Attachments
For Gerrit Dashboard: QTBUG-66355 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
220519,3 | Find PCRE2 via pkgconfig | 5.11 | qt/qtbase | Status: MERGED | +2 | 0 |