Problem compiling QTBus binding on win32
Ralf Habacker
ralf.habacker at freenet.de
Sat May 6 02:47:36 PDT 2006
Thiago Macieira schrieb:
> Ralf Habacker wrote:
>
>> C:/Qt/4.1.2/include/QtCore/../../src/corelib/global/qglobal.h:1579:
>> error: forming reference to reference type `const QVariantList&'
>>
>
> Hi Ralf, I now think I know what this error is.
>
> Can you check what happens if you make the function:
> static inline List fromVariantList(const QVariantList &list)
>
> take a QVariantList instead of a const reference to it?
>
> I am unsure whether this is compiler error or not.
>
qdbustypehelper_p.h:134
does not work static inline List fromVariantList(const QVariantList &list)
work: static inline List fromVariantList(const QVariantList list)
Similar in qdbusintegrator.cpp:1100
does not work: const QObjectList &children = obj->children();
works: const QObjectList children = obj->children();
Regards
Ralf
More information about the dbus
mailing list