On Monday 02 March 2015 21:55:34 Guido Seifert wrote:
> I am currently playing around with the new signal/slot syntax.
> Modernizing one of my older programs.
> 
> When I switched my QProcess connections  from ...SIGNAL(finished(int,
> QProcess::ExitStatus)... to function pointers
> I got at runtime:
> > QObject::connect: Cannot queue arguments of type 'QProcess::ExitStatus'
> > (Make sure 'QProcess::ExitStatus' is registered using
> > qRegisterMetaType().)
> 
> Yep, qRegisterMetaType<QProcess::ExitStatus>("QProcess::ExitStatus"); fixes
> this problem. Strangely this problem does not exist with
> QProcess::ProcessError.
> 
> I suppose this enum is already registered somewhere. Maybe
> QProcess::ExitStatus also should be registered by default?

I believe this should get done when we switch all enums and flags to the new 
Q_ENUM.

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

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to