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

Host tools may be built using target dbus flags

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.2.1
    • Fix Version/s: 5.3.2
    • Component/s: Build System
    • Labels:
      None
    • Commits:
      ec703836b314c419a1c463dc105234f733031535

      Description

      There is only a single variable QT_CFLAGS_DBUS (the same for QT_LIBS_DBUS) that is set using

      QT_CFLAGS_DBUS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`

      However PKG_CONFIG returns the information for the target device. This variable is then used for both host and target tools.

      We currently hack around this after configure:

      sed -i '/^QT_CFLAGS_DBUS/{i\
      host_build: QT_CFLAGS_DBUS = '"$HOST_DBUS_CFLAGS"'
      s/^/else: /};/^QT_LIBS_DBUS/{i\
      host_build: QT_LIBS_DBUS = '"$HOST_DBUS_LIBS"'
      s/^/else: /}' ./qtbase/mkspecs/qmodule.pri
      

        Attachments

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

          Activity

            People

            • Assignee:
              rebemlix Rolf Eike Beer
              Reporter:
              rebemlix Rolf Eike Beer
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes