On 17 Jun 2014, at 04:14, Nancy Zou <nancy....@csr.com> wrote:

> Dear All
> I know Qt5.2 have a big performance increase, but I don’t find my qml 
> application have some performance increase compared with Qt5.0.
> I write some of my qml like that:
> ...
> Sometimes I want some item invisible, so I set opacity to 0. But I know 
> visible: false can make item invisible too. Which one should better to choose?

opacity==0 and visible==false are equivalent in terms of graphics. Both will 
result in the item being removed from the scene graph and not rendered.

> If the opacity is 0, does the item still drawing? I suspect it’s why my qml 
> can’t run good on Qt5.2.
> I want to ask how to write a good qml  file to make full use of Qt5.2 
> optimization.

http://qt-project.org/doc/qt-5/qtquick-visualcanvas-scenegraph-renderer.html

>  
> Thank you.
> Best Regards
> Nancy
>  
> 
> 
> Member of the CSR plc group of companies. CSR plc registered in England and 
> Wales, registered number 4187346, registered office Churchill House, 
> Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
> More information can be found at www.csr.com. Keep up to date with CSR on our 
> technical blog or CSR people blog, YouTube,Facebook or follow us on Twitter 
> at twitter.com/CSR_plc.
> New for 2014, you can now access the wide range of products powered by aptX. 
> _______________________________________________
> 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