mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-09-13 16:39:48 +02:00
compile when QtDBus framework is not available
This commit is contained in:
+4
-3
@@ -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 ********************************************************************
|
||||
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user