On Thursday, March 08, 2012 16:41:09 Stephen Kelly wrote: > 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. >
Bootstrapping qdbusxml2cpp might also not be too hard, but would need to pull in a few files from src/dbus too. > Waiting on Thiagos input for which to proceed with. > > Thanks, -- Stephen Kelly <[email protected]> | 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
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
