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

pcre/2 c/should be found via pkgconfig

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.11.0 Beta 2
    • 5.9
    • Build System
    • 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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            rjvbertin René Bertin
            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