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

cmake: Search for .pc files in non-existent directory

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • None
    • 6.8.1
    • Multimedia
    • None
    • Debian 12 Bookworm
    • Linux/Wayland, Linux/X11

      On Debian (and derivatives) libdir is /usr/lib/<triplet>. So libdir/pkgconfig becomes /usr/lib/<triplet>/pkgconfig.

      After aaa1e03 constructing the path for a .pc file always results in an non-existent directory. (/usr/lib/<triplet>/../lib/pkgconfig)

      The commit may work on Windows which was the intention of the patch. But results in numerous warnings about missing .pc files on Debian like systems.

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

            qtmultimediateam Qt Multimedia Team
            tinomai Tino Mai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes