summaryrefslogtreecommitdiffstats
path: root/src/dbus/qdbusutil_p.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2016-09-08 13:56:16 -0700
committerThiago Macieira <thiago.macieira@intel.com>2016-09-15 23:12:42 +0000
commit8ceab12814a7437a01d917c83ec28fd6e81c459e (patch)
treeddefa966be1da22809c9ae7059ff001228da3bfa /src/dbus/qdbusutil_p.h
parent2c9d15d73c5136dd2b8a28d7ff8fef2b81d4c5dc (diff)
Fake exporting of the QDBusUtil namespace
It's a namespace containing only private things, but some of those get used in some QtDBus tools. By adding a macro that expands to nothing, findclasslist.pl will notice the namespace and add it to the ELF version script. Task-number: QTBUG-55897 Change-Id: I371f5b01e24a4d56b304fffd1472748cde56f0c3 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'src/dbus/qdbusutil_p.h')
-rw-r--r--src/dbus/qdbusutil_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dbus/qdbusutil_p.h b/src/dbus/qdbusutil_p.h
index e11fe573b5..4331fdb1d1 100644
--- a/src/dbus/qdbusutil_p.h
+++ b/src/dbus/qdbusutil_p.h
@@ -64,7 +64,8 @@
QT_BEGIN_NAMESPACE
-namespace QDBusUtil
+#define Q_DBUS_NO_EXPORT // force findclasslist.pl looking into this namespace
+namespace Q_DBUS_NO_EXPORT QDBusUtil
{
Q_DBUS_EXPORT bool isValidInterfaceName(const QString &ifaceName);