202 points · by easytiger · 13y ago · 96 comments
And of course Qt will be the main SDK for both Blackberry 10 and Jolla's Sailfish.
It made me wonder whether BeOS might not make a great mobile OS. Designed for limited hardware, excellent multitasking, and an opensource version in alpha status now.
QT5 is a dream come true, and when it becomes omni-deployable (android, ios, raspberry pi) it will be even better.
For people doing lower-end embedded stuff Qt5 isn't going to give you much, if you can run it at all.
Sure, you will take a runtime performance hit if you do a QML UI because all the QML needs to be parsed.
But then again, no it's not all javascript and no it will not suck up all of your CPU. When you write simple bindings (for example someProperty: otherPropert ? "yes.png" : "no.png") the QML engine actually detects these simple cases and doesn't invoke the javascript interpreter when it needs to evaluate the expression, but handles it internally instead. Also if you don't want to do things in javascript you really don't have to as calling QObject slots is super easy. If you stick to simple bindings and write your logic in C++, the javascript interpreter won't have much to do.
What professor overhead? It's 2012. Our quad core processors sit idle most of the time -- and even those in our phones aren't particularly challenged.
Plus, what "interpreter"?
For one, V8 uses JIT, second, it's way faster than Ruby/Python (languages that are also used for app development), and in Qt5 V8 is just the logic layer, the GUI/scene-graph parts are C++ and accelerated.
For people doing lower-end embedded stuff Qt5 isn't going to give you much, if you can run it at all.
Well, DUH! Who said anything about them? These people can't even afford to use Java or C#, much less V8 bindings for a UI toolkit, and even the C++ Qt5 part is not targeted to them anyway.
Thanks for reinforcing my point. Qt5 is more of a smartphone platform than a GUI toolkit for embedded systems now. There are still a lot of low-end chips that need graphics toolkits and the new whizbang stuff just can't work on these systems. Don't tell me QML2 is great for prototyping GUIs when I can't even run it on my platform.
I completely understand why the switch in focus came along, especially when Nokia took over. I still have bug reports from 2-3 years ago that have been marked "don't care, won't fix" by Nokia. My anecdata comes from actual years of experience making Qt work smoothly on lower-end hardware.
http://www.youtube.com/watch?v=3QgG9oYhH-c
Slides for this and other Qt talks are available here:
Assuming it comes up to speed with Qt5, I'd like to try this with clojure.
Anyone have any experience with Qt and Java/Clojure?
https://qt-project.org/wiki/PySide-Tutorials-by-Experience-L...
There is a book out there called "Rapid GUI Programming with Python and Qt The Definitive Guide to PyQt Programming by Mark Summerfield" Code downloadable here: http://www.qtrac.eu/pyqtbook.html
Full text: http://ebookbrowse.com/summerfield-rapid-gui-programming-wit...
In all the code in that book you can just substitute "import PySide" for "import PyQt4" and pretty much everything works. In addition, if you install Qt4Assistant you will have a searchable tool for all classes and documentation.
Are we talking about significant rewrites and with what compiler? I don't see vendors reaching compliance for at least a year.
Was reading to find answers to some of my own questions and found this link helpful regarding use of c++11 in Qt5 [0]. Use of c++11 features seems limited in the first release which makes sense.
All these cutesy insider pronunciations only serve to confuse and alienate the uninitiated, it's elitist nonsense.
I don't fight my colleagues when they say "Suss" rather than the correct pronunciation of Suse Linux, because when it comes down to it, language is just an agreement that certain sounds mean something to the group that they are being spoken to. There's nothing inherent about the sanctity of language. If you can't be flexible, you might not be cut out for it.