[Interest] QMetaMethod::invoke / Q_ARG with a temporary

Thiago Macieira thiago.macieira at intel.com
Tue May 8 08:36:43 CEST 2018


On segunda-feira, 7 de maio de 2018 21:30:33 PDT Christian Ehrlicher wrote:
> I know that I should Q_ARG but I have problems using Q_ARG with a
> typedef/templated parameter therefore I need to use QArgument for at
> least this specific parameter and simply used it for all without
> thinking about it. Thx for the pointer!

Use a typedef for your type.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center






More information about the Interest mailing list