Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

QML Beginner Questions

$
0
0
Well, can’t you try it out? I personally get an “unknown component” error without any imports, so no, no QtObject component either. It doesn’t seem like QML offers a choice to specify the connection type, at least I don’t see it. As for connections you set explicitly from C++, I don’t see a reason for them to break anything as long as YOU don’t do anything “illegal”. And no, QML is actually more similar to HTML, you are under the wrong impression that QML is like CSS because of the syntax similarities. The main difference between HTML and QML is the first is XML based, which is slower, more bloated and slower to type, due to having to use closing tags as well. QML like HTML describes structure, CSS only describes properties of the structure elements but not the structure itself. No one is forcing you to use the stock QML components, if you wan you can keep it entirely to using your own, but you still have to implement them, compile them, register them and import the resulting module. You sound like you really need to spend some time developing with existing components before you rush into anything custom. So that is what I’d recommend, don’t get ahead of yourself, develop, experiment and in time you will catch up. Those questions and their answers won’t do you much good as long as you are in the dark of the QML paradigm.

Viewing all articles
Browse latest Browse all 4972

Trending Articles