summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qfeatures.h
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@nokia.com>2010-04-08 09:31:56 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2010-04-08 09:40:27 (GMT)
commitb34817d3fce5b96c335cb583a3313e7bd9f8c07c (patch)
tree8e86b39c662b537e6a5da92a6c493f18918a0833 /src/corelib/global/qfeatures.h
parent33937d31e5ba48a8dc430f705db0d6e569996657 (diff)
downloadQt-b34817d3fce5b96c335cb583a3313e7bd9f8c07c.zip
Qt-b34817d3fce5b96c335cb583a3313e7bd9f8c07c.tar.gz
Qt-b34817d3fce5b96c335cb583a3313e7bd9f8c07c.tar.bz2
Introduce a qconfig feature for QtDBus
QtDBus module is useless with QT_NO_PROPERTIES. Add D-Bus section and DBUS feature which requires PROPERTIES. Update qfeatures.h. Disable QtDBus module, a bearer management plugin for NetworkManager and a script plugin for QtDBus when QT_NO_DBUS is defined. Merge-request: 511 Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
Diffstat (limited to 'src/corelib/global/qfeatures.h')
-rw-r--r--src/corelib/global/qfeatures.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/corelib/global/qfeatures.h b/src/corelib/global/qfeatures.h
index acb3a00..74fa8ee 100644
--- a/src/corelib/global/qfeatures.h
+++ b/src/corelib/global/qfeatures.h
@@ -335,6 +335,11 @@
#define QT_NO_DATESTRING
#endif
+// QtDBus module
+#if !defined(QT_NO_DBUS) && (defined(QT_NO_PROPERTIES))
+#define QT_NO_DBUS
+#endif
+
// QDial
#if !defined(QT_NO_DIAL) && (defined(QT_NO_SLIDER))
#define QT_NO_DIAL