compile when QtDBus framework is not available

This commit is contained in:
Vadim Kurland
2009-10-12 20:26:38 +00:00
parent d677cbc182
commit a49126ff1b
3 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -1 +1 @@
#define BUILD_NUM 1576
#define BUILD_NUM 1577
+4 -3
View File
@@ -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 ********************************************************************
+2 -1
View File
@@ -23,7 +23,6 @@
#include <QDebug>
#include <QString>
#include <QStringList>
#include <QtDBus/QtDBus>
#include "TransferDevice.h"
@@ -32,6 +31,8 @@ using namespace libfwbuilder;
#ifdef HAVE_QTDBUS
#include <QtDBus/QtDBus>
QVariant getProperty(QDBusInterface &interface, QString prop)
throw(FWException)
{