qt5base-lts/tests/auto/dbus/qdbusmarshall
Thiago Macieira bd1f5b268a Make sure we don't call dbus_connection_can_send_type on too old libdbus
This function was introduced alongside the support for Unix file
descriptors, so it's a good indicator of whether Unix FDs are
supported. Ever since dbus_minimal_p.h, however, DBUS_TYPE_UNIX_FD may
be defined even if the system libs don't support it.

In order to fix this issue, I had to fix what was apparently a merge
conflict resolution mistake and remove the #ifdef around the test. Doing
the latter is a good idea due to moc being unable to find <dbus/dbus.h>.

This was tested with both linked and dynamically-loaded libdbus-1.

Task-number: QTBUG-46199
Change-Id: I66a35ce5f88941f29aa6ffff13dfb4b5438613a3
Reviewed-by: Jani Vähäkangas <jani.vahakangas@theqtcompany.com>
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
2015-05-26 07:20:35 +00:00
..
qpong Update copyright headers 2015-02-11 06:49:51 +00:00
test Tests: remove insignificant flag for dbus tests on osx 2015-03-27 18:37:30 +00:00
.gitignore Moved dbus autotests into new directory structure 2011-09-01 09:37:08 +02:00
common.h Update copyright headers 2015-02-11 06:49:51 +00:00
qdbusmarshall.pro don't erroneously claim that gui support is needed 2013-10-16 17:10:15 +02:00
tst_qdbusmarshall.cpp Make sure we don't call dbus_connection_can_send_type on too old libdbus 2015-05-26 07:20:35 +00:00