[Qt-interest] Q_CLASSINFO macro expansion

z zoomer.gm at gmail.com
Sun Jan 24 19:05:06 CET 2010


2010/1/24 Reinhardt Behm <reinhardt.behm at t-online.de>:
> On Sunday 24 January 2010 11:42, Thiago Macieira wrote:
>> Em Sábado 23. Janeiro 2010, às 21.49.57, z escreveu:
>> > Hi all. Is there any way to make this work?
>> > <code>
>> > #define DBUS_INTERFACE "org.kde.test.dbserver"
>> > Q_CLASSINFO("D-Bus Interface", DBUS_INTERFACE)
>> > </code>
>>
>> No.
>
> Why not define some global variable
> const char DBUS_INTERFACE[] = "org.kde.test.dbserver";
> somewhere and use this.
>

That also doesn't work.

> --
> Reinhardt Behm, 55294 Bodenheim, Burgweg 3A
> reinhardt.behm at t-online.de
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>




More information about the Qt-interest-old mailing list