Thank you! I understand it.

Best regards,
Cheng Liang
Nanjing, China
http://www.devbean.net

> From: thiago.macie...@intel.com
> To: interest@qt-project.org
> Date: Thu, 26 Jun 2014 20:29:41 -0700
> Subject: Re: [Interest] Is is possible to connect QML signals to C++ slot     
> using new syntax?
> 
> Em sex 27 jun 2014, às 02:41:05, 程梁 escreveu:
> > In the documents I read about Connecting to QML Signals. Connect QML signals
> > to C++ slot still using old syntax. Is it possible to connect QML signals
> > to C++ slot using new syntax? The problem is QML item type is dynamic so
> > cannot get its signals pointers.
> 
> There you go, you answered your question.
> 
> The new syntax requires an existing C++ member for a signal at the time of 
> the 
> compilation of the C++ source code.
> 
> So, unless someone writes a QML-to-C++ generator, this will never work.
> -- 
> 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
                                          
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to