[Interest] QMetaMethod::invoke / Q_ARG with a temporary
Thiago Macieira
thiago.macieira at intel.com
Mon May 7 21:40:00 CEST 2018
On Monday, 7 May 2018 11:24:55 PDT Christian Ehrlicher wrote:
> Hi,
>
> today I discovered that Q_QArgument does not handle a temporary
> (boolean) value as I would have expected it.
> I'm invoking the method similar to this:
>
> QArgument<bool> arg3("bool", !inProgress);
QArgument is not a documented class. Remove this line. You must only use the
Q_ARG macro.
> I did not found a hint int the documentation about this behavior.
Now you know why.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest
mailing list