Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.2.1
-
None
-
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
For Gerrit Dashboard: QTBUG-37324 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
89488,6 | Improve dbus cross compilation | 5.3 | qt/qtbase | Status: MERGED | +2 | 0 |