[Development] Moving dbus tools to qtbase.git

Stephen Kelly stephen.kelly at kdab.com
Thu Mar 8 16:41:09 CET 2012


On Wednesday, March 07, 2012 22:01:48 Stephen Kelly wrote:
> Hi there,
> 
> I started looking into moving the dbus tools to qtbase.git.
> 
> This came up before and the conclusion was to move the dbus tools to where
> dbus is:
> 
> http://thread.gmane.org/gmane.comp.lib.qt.devel/764/focus=80
> 
> I tried to bootstrap the dbus tools, but that does not seem to be possible
> (or maybe just very impractical) because they use QObject, QMetaObject and
> one of them uses the QDBus module itself.
> 
> I would still like to move them to qtbase.git, but I think bootstrapping
> them isn't possible. Can I move them somewhere else? src/dbus/tools maybe?
> 

I chatted with Lars about this.

The two options are:

1) A new repo, qdbustools, to hold the tools.
2) Bootstrap the tools.

Bootstrapping qdbuscpp2xml involves porting it away from calling moc via 
QProcess and parsing the output, as it currently does, to directly using the 
Moc class and using QClassDef etc instead of QMetaObject. It doesn't seem to 
be too hard. It would also be necessary to refactor dbus headers a bit to have 
access to defines such as 

#define QCLASSINFO_DBUS_INTERFACE       "D-Bus Interface"

without Q_OBJECT getting in the way etc.

This also doesn't seem to be too hard.

Waiting on Thiagos input for which to proceed with.

Thanks,

-- 
Stephen Kelly <stephen.kelly at kdab.com> | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-Independent Software Solutions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120308/c9025489/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120308/c9025489/attachment.sig>


More information about the Development mailing list