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

Providing pkg-config variables for rcc, lupdate, lrelease binaries, like with moc and uic

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P3: Somewhat important
    • 4.7.0
    • 4.6.3
    • Build System
    • None
    • Everywhere

    • 77fda24918bff693a20ae11eae64809a9c4689dd

    Description

      Pkg-config is very convenient when compiling a project without qmake.

      In many platforms, qt build binaries (moc, uic, rcc...) are prefixed or suffixed, for example debian suffixes them with -qt4 if qt3 is already installed and macports suffix them with -mac distinguish native and x based port. So the prefix available on the pkg-config files often is not enough to locate the binary.

      pkg-config provides two convenient variables moc_location and uic_location (at least in debian packaging). It would be nice having similar variables for other binaries such as rcc, lupdate and lrelease.

      This will enable build tools appart from qmake to use pkg-config to locate all the binaries. I am maintaining the SCons tool for Qt4 and now it fails to identify such binaries in some situations like the above. Being able to rely on such variables will solve this issue and it will simplify the tool itself.

      Attachments

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

        Activity

          People

            buddenha Oswald Buddenhagen
            vokimon David García Garzón
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes