Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-66355

pcre/2 c/should be found via pkgconfig

    XMLWordPrintable

    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

        Attachments

        For Gerrit Dashboard: QTBUG-66355
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            rjvbertin René Bertin
            Reporter:
            rjvbertin René Bertin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes