[Qt-interest] A couple of questions about QML
Bob Hood
bhood2 at comcast.net
Sun Jan 17 20:34:42 CET 2010
Thiago Macieira wrote:
> Hi Bob
Hi, Thiago. Thanks for the swift reply.
>> First, before QML was introduced, I've seen custom Qt-based interfaces
>> (i.e., custom controls, like dial-knobs and equalizer sliders). Are
>> those controls created using straight C++, or are they using some
>> Qt-based tech that QML is designed to replace?
>
> They're all implemented in C++. Depending on the control, much of it is
> implemented actually in the style, which is a C++ class deriving from QStyle
> and implementing the look-and-feel. On Windows, Mac and Symbian, it tries to
> use the platform functions to obtain the look of the platform.
Ah, good to know. That will always be an available alternative, then.
>> Second, if I write a stand-alone Qt-based C++ application that leverages
>> QML for its UI, can the QML elements (*.qml, *.js, etc.) be distributed
>> along with the application in such a form that they cannot be modified
>> by the end user? Compiled into binary form, perhaps, or embedded as Qt
>> resources?
>
> Yes, they can. You can also download any updates from the network.
Is that "yes" to "Compiled into binary form", "embedded as a Qt
resource", or both? :)
Render me gone, |||
Bob ^(===)^
---------------------------------oOO--(_)--OOo---------------------------------
I keep a Snow Leopard in a box under my Windows.
More information about the Qt-interest-old
mailing list