Fix xcb's dbus dependency
Getting a build error on Raspbian due to the lack of libdbus-1. Configure chooses dbus-1 at runtime so there should be no reason to force -ldbus-1 in xcb. Change-Id: I3f35e0069b3abae59d575c5e3d8f4f24f7d935d2 Reviewed-by: Jørgen Lind <jorgen.lind@theqtcompany.com>
This commit is contained in:
parent
e8ef23eee4
commit
c0fa5922b2
@ -85,9 +85,9 @@ QMAKE_CFLAGS += $$QMAKE_CFLAGS_XCB
|
||||
|
||||
CONFIG += qpa/genericunixfontdatabase
|
||||
|
||||
contains(QT_CONFIG, dbus) {
|
||||
contains(QT_CONFIG, dbus-linked) {
|
||||
QT += dbus
|
||||
LIBS += -ldbus-1
|
||||
LIBS += $$QT_LIBS_DBUS
|
||||
}
|
||||
|
||||
contains(QT_CONFIG, xcb-qt) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user