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

pkg-config does not expose libexecdir for finding some tools

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • None
    • 6.1, 6.2, 6.3.1, 6.3, 6.4.0
    • Build System: CMake
    • None
    • Linux/Wayland, Linux/X11, Linux/Yocto, Linux/Other display system

    Description

      On Qt6 6.1+, moc, rcc and uic is placed on INSTALL_LIBEXECDIR on CMake, which can set by builder as he want. When we will try to locate Qt binaries with Qt build such way by pkg-config, we does not have a relevant way to do this, so, cannot find them by relevant way.

       

      I think we should expose INSTALL_LIBEXECDIR as libexecdir in .pc file to solve this issue, and then we will find moc by simply appending executable name to libexecdir (as we can do with qmake now).

       

      I attached a simple patch to fix this issue, but cannot push it directly due to inability to do ssh behind a firewall.

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            rilian-la-te Konstantin Pugin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes