Originally posted by ShadowBane
View Post
Announcement
Collapse
No announcement yet.
Qt 5.0 Beta Not Here Due To Difficulties
Collapse
X
-
Originally posted by RealNC View PostI strongly disagree.
Also, what exactly makes imparitive languages good for user interfaces?
Comment
-
IMO GUI programming is nothing special. It doesn't need special treatment from a programmer's point of view. The need for non-programmers to create GUIs is the reason for this move. GUI designers who know Photoshop but not C (or similar languages), can now create GUIs (you can export QML from graphics tools.)
That's good. I support it. But don't shut me off from being able to work with my preferred tools for no reason. QML is not better for me. It's better for others, because they can't use what I use.
Comment
-
Originally posted by RealNC View PostIMO GUI programming is nothing special. It doesn't need special treatment from a programmer's point of view. The need for non-programmers to create GUIs is the reason for this move. GUI designers who know Photoshop but not C (or similar languages), can now create GUIs (you can export QML from graphics tools.)
Originally posted by RealNC View PostThat's good. I support it. But don't shut me off from being able to work with my preferred tools for no reason. QML is not better for me. It's better for others, because they can't use what I use.
Comment
-
Originally posted by TheBlackCat View PostIt isn't quite that simple. QML allows for the new scenegraph system, which apparently improves GUI performance considerably and allows for smooth animations like transitions. So there are specific technical benefits to it besides making it easier for non-programmers.
It seems you missed the point (even though I wrote it down many times). So I'll write it once again: Why *only* QML?
Nobody is shut off from anything, qwidget is still there in Qt 5.
You're shut off from that with QWidget.
Comment
-
Originally posted by RealNC View PostIt seems you missed the point (even though I wrote it down many times). So I'll write it once again: Why *only* QML?
I guess, theoretically, you could embed a new declarative language inside C++ code, but that really doesn't do what you want it to do, because it still wouldn't be C++, in the end it would still be a new language.
And you can't do it at all with qwidget, since by definition qwidgets have their rendering code inside the class, which is exactly what scenegraph was designed to avoid. So no matter how you implemented the declarative language, you could never use qwidget.Last edited by TheBlackCat; 20 August 2012, 04:12 AM.
Comment
-
Originally posted by TheBlackCat View PostBecause that is the whole point of using a declarative language. With an imperative language like C++, you have to tell the system exactly how to do what you want it to do. With a declarative language you tell the system what you want in the end, and the system figures out the best way to accomplish it. And the latter case is exactly what scenegraph is all about, it knows what the finished product should look like, so it can then figure out exactly how to go about producing that in the most efficient possible way. That is fundamentally impossible with an imperative language like C++, where you have to manually lay out each rendering step.
I guess, theoretically, you could embed a new declarative language inside C++ code, but that really doesn't do what you want it to do, because it still wouldn't be C++, in the end it would still be a new language.
And you can't do it at all with qwidget, since by definition qwidgets have their rendering code inside the class, which is exactly what scenegraph was designed to avoid. So no matter how you implemented the declarative language, you could never use qwidget.
Comment
-
Originally posted by TheBlackCat View PostBecause that is the whole point of using a declarative language. With an imperative language like C++, you have to tell the system exactly how to do what you want it to do. With a declarative language you tell the system what you want in the end, and the system figures out the best way to accomplish it. And the latter case is exactly what scenegraph is all about, it knows what the finished product should look like, so it can then figure out exactly how to go about producing that in the most efficient possible way. That is fundamentally impossible with an imperative language like C++, where you have to manually lay out each rendering step.
I guess, theoretically, you could embed a new declarative language inside C++ code, but that really doesn't do what you want it to do, because it still wouldn't be C++, in the end it would still be a new language.
And you can't do it at all with qwidget, since by definition qwidgets have their rendering code inside the class, which is exactly what scenegraph was designed to avoid. So no matter how you implemented the declarative language, you could never use qwidget.
so the ideal scenario is that QWidget\others can render using scenegraph as engine because as far c++ devs care this is the only "but" and well maybe a smarter way to expose Webkit API so Qt is not always behind
beside i maintain my position QWidgets are way more powerful than QML in anything except eye candy[in the sense that is a bit harder to code] at least for the experienced developers
Comment
-
Originally posted by jrch2k8 View Postmmm scenegraph is a render engine concept not a QML foundation and as far trolls[as trolltech] has explained there is a previous stage before scenegraph that convert the QML Js code to C++ hence the render is done in C++ internally,
Originally posted by jrch2k8 View Postthe problem here [RealNC is right in this one] that for some reason they are not providing yet[i hope] a way to access scenegraph directly from C++ which is needed for proffesional applications[QML is more for mobile and pops grocery app] cuz QML can't handle real complex stuff keeping decent speeds and the logic interfacing with C++ is not smooth in complex code.
Originally posted by jrch2k8 View Postso the ideal scenario is that QWidget\others can render using scenegraph as engine because as far c++ devs care this is the only "but"
Originally posted by jrch2k8 View Postbeside i maintain my position QWidgets are way more powerful than QML in anything except eye candy[in the sense that is a bit harder to code] at least for the experienced developers
You can't have it both ways. Either you control the rendering, or scenegraph does. You want the benefits of scenegraph, but without the changes in the painting system that make scenegraph possible in the first place.
Comment
Comment