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

Need official way to use pkg-config, regardless of what Qt's setting was

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Duplicate
    • P3: Somewhat important
    • None
    • 5.8.0 Alpha
    • Build tools: qmake
    • None
    • MacOS 10.11.6

    Description

      I am trying to build my application on the 5.8.0 441 snapshot for MacOS/Android/iOS to check QTBUG-51131, but I believe something has changed in how pkg-config is handled by clang+qmake.

      The way:
      macx:QT_CONFIG -= no-pkg-config
      CONFIG += link_pkgconfig
      PKGCONFIG += sndfile

      has been working on every 5.x release, but not on 5.8.0. The error I've got is:
      Project WARNING: pkg-config disabled, can't check package existence
      Project ERROR: sndfile development package not found

      Doing just PKGCONFIG += sndfile seems to go a bit further but then the sndfile headers cannot be found at build time.

      Attachments

        Issue Links

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

          Activity

            People

              buddenha Oswald Buddenhagen
              mcallegari79 Massimo Callegari
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes