[Interest] qml display question

Rutledge Shawn Shawn.Rutledge at digia.com
Tue Jun 24 09:51:28 CEST 2014


On 24 Jun 2014, at 09:36, Nancy Zou <Nancy.Zou at csr.com> wrote:

> Dear All
> My display resolution is 800*480,

Sounds like you are on Android or on some sort of embedded system?  So probably the reason is that you cannot have multiple windows: the whole application must be full-screen by design.  Of course you can have a red rectangle inside a black one if that’s what you want.

> I write a qml like that:
>  
> import QtQuick 2.0
> Rectangle {
> width:300
> height: 200
> color: "red"
> }
> Why it show the whole screen red color.
> I think it may be caused by window size.  Is it right?
> How does qquick scene graph display qml contents to screen?



More information about the Interest mailing list