[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-buildsystem
Subject:    Re: [PATCH] Add optional arguments to QT4_GENERATE_DBUS_INTERFACE
From:       Alexander Neundorf <neundorf () kde ! org>
Date:       2007-12-19 19:50:37
Message-ID: 200712192050.37848.neundorf () kde ! org
[Download RAW message or body]

On Wednesday 19 December 2007, Thomas McGuire wrote:
> Hi,
>
> the current QT4_GENERATE_DBUS_INTERFACE does not allow me to only extract
> methods marked with Q_SCRIPTABLE. I need this for KMail, I don't want to
> export each public slot.
>
> The attached patch simply uses an optional parameter to specify the
> parameters for qdbuscpp2xml. For example, by passing -psm to the macro,
> only scriptable methodes are exported.
>
> Is the patch OK? Any comments? Can I commit?

It would be ok if there wouldn't be support for additional options since a few 
days ago in the cmake cvs version of FindQt4.cmake, which looks like this:

QT4_ADD_RESOURCES(outfiles inputfile ... OPTIONS ...)

So there you can add options as you want for the tool after the OPTIONS 
keyword. 
It seems we want that for our FindQt4.cmake too ?

Alex

_______________________________________________
Kde-buildsystem mailing list
Kde-buildsystem@kde.org
https://mail.kde.org/mailman/listinfo/kde-buildsystem
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic