[Qt-qml] Setting width and height depending on screen resolution

bea.lam at nokia.com bea.lam at nokia.com
Fri Oct 29 05:54:32 CEST 2010


Hi Felipe,

On 28/10/2010, at 9:50 PM, ext Felipe Mogollon wrote:

> Hi,
> 
> I am developing a qml gui based application and I would like to know
> if there is any way of knowing screen resolution (width and height)
> from qml in order to set icons position relative to that resolution.

You can use QDesktopWidget to find the screen width and height.


regards,

Bea





More information about the Qt-qml mailing list