diff --git a/build_num b/build_num index 768ac75c2..a0c2a7904 100644 --- a/build_num +++ b/build_num @@ -1 +1 @@ -#define BUILD_NUM 1576 +#define BUILD_NUM 1577 diff --git a/configure.in b/configure.in index 5792ce67e..8132fe1a7 100644 --- a/configure.in +++ b/configure.in @@ -272,9 +272,10 @@ AC_SUBST(ANTLR_INCLUDEPATH) # Need real test for this, but at least for now it seems Qt comes with # QtDBus support on all platforms except Windows -AC_DEFINE_UNQUOTED(HAVE_QTDBUS, 1, [qtdbus]) -AC_SUBST(HAVE_QTDBUS) - +AC_CHECK_HEADERS([QtDBus/QtDBus], [ + AC_DEFINE_UNQUOTED(HAVE_QTDBUS, 1, [qtdbus]) + AC_SUBST(HAVE_QTDBUS) +]) dnl ******************************************************************** diff --git a/src/fwtransfer/TransferDevice.cpp b/src/fwtransfer/TransferDevice.cpp index 8dff2e781..0cbcd3a28 100644 --- a/src/fwtransfer/TransferDevice.cpp +++ b/src/fwtransfer/TransferDevice.cpp @@ -23,7 +23,6 @@ #include #include #include -#include #include "TransferDevice.h" @@ -32,6 +31,8 @@ using namespace libfwbuilder; #ifdef HAVE_QTDBUS +#include + QVariant getProperty(QDBusInterface &interface, QString prop) throw(FWException) {