[Qt-qml] "Cheating" in startup.qml?

Nigel.Hietala at nokia.com Nigel.Hietala at nokia.com
Wed Sep 8 22:49:03 CEST 2010


As of 4.7 Qt Quick is part of Qt and follows the same schedule.

- Nigel

Ah, that makes sense.

I guess we are stuck with what it is until Qt 4.8? Or will there be an interim
release? Is QML on the same schedule as Qt, or is it separate like Mobility?




----- Original Message ----
From: "Nigel.Hietala at nokia.com<mailto:Nigel.Hietala at nokia.com>" <Nigel.Hietala at nokia.com<mailto:Nigel.Hietala at nokia.com>>
To: scorp1us at yahoo.com<mailto:scorp1us at yahoo.com>
Cc: qt-qml at trolltech.com<mailto:qt-qml at trolltech.com>
Sent: Wed, September 8, 2010 3:07:26 PM
Subject: Re: [Qt-qml] "Cheating" in startup.qml?

Hi Jason,

Glad you like the animation. During it's creation we were finding that we did
not have enough time to get effects such as blur and drop shadow to perform to
the standards we had set and so, although these effects were in early versions
of Qt Quick, we removed them for the official release. I then used the cheats
you can see in the demo. As today's latest and greatest mobile devices have
pretty powerful GPU's we hope to bring effects such as blur and shadow into Qt
Quick as in a way that they can be applied to any other Qml element at run time.
No idea when this will happen, but it is something we are thinking about for the
future.


- Nigel



On Sep 8, 2010, at 9:33 PM, "ext Jason H" <scorp1us at yahoo.com<mailto:scorp1us at yahoo.com>> wrote:

I downloaded the SDK rc1 for 4.7

I wanted to check out the QML stuff, but the QtCreator IDE does not quote the
script name (as a parameter), so I was going to launch it manually, and take it

from there.

When I loaded it, I was completely blown away by the included animation. It was

amazing. Even slowed down. Truly epic stuff! I immediately needed to know how
it

did all that so I loaded up startup.qml, and it was revealed to me. But the
assets here used quite a few pre-rendered images. I expected the Qt logos to be

pre-rendered, but the blur and drop shadow stuff was, I thought, doable in QML?



I'm trying to make a very flexible application using user art resources, and I

didn't want the user to have to do this kind of thing. Would it be possible to,

now or in the future have QML create these at run time? (Via serialization to
disk, or just in-memory?)



Imagine:
Rectangle {  id: rect1
   y: 100; width: 80; height: 80      gradient: Gradient {
GradientStop { position: 0.0; color: "lightsteelblue" }          GradientStop {

position: 1.0; color: "blue" }      }  }then calling something like
export(rect1, "rect1.png") In this way, QML can be used as a compisting
engine.

I thought there were Blur, DropShadow, etc, so I guess my question is why were

they not used?

Also, I would like to alert you to a documentation discrepancy. In QtCreator's

help under "Qt4.7: QML Elements: Home: QML Elements" the Effects listed are all

particle effects, and grayed out. The "QML Reference: Home: Elements" page
however has the full complement listed. It might be just rc-status, but it
might

not.

But I am so excited to be using QML!



_______________________________________________
Qt-qml mailing list
Qt-qml at trolltech.com<mailto:Qt-qml at trolltech.com>
http://lists.trolltech.com/mailman/listinfo/qt-qml





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20100908/cc6acf65/attachment.html 


More information about the Qt-qml mailing list