1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-20 02:07:23 +01:00

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

View File

@ -1 +1 @@
#define BUILD_NUM 1576
#define BUILD_NUM 1577

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 ********************************************************************

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)
{