Re:Moving to QT Quick, Nokia has won the developers battle?
by killedbydeath on Tuesday October 26, 2010 @01:11PM
(#1835041)
You don't really need to do memory allocation when using Qt. All classes have implicit reference counting. Look at a random example (http://doc.trolltech.com/4.7/phonon-qmusicplayer.html) and count the number of times you see a "delete" operator there (). I found the code I wrote in Qt/C++ more elegant than Java code.
() Answer: 0
Re:Moving to QT Quick, Nokia has won the developers battle?
by daliusd on Tuesday October 26, 2010 @05:59AM
(#1833631)
QT Quick is actually javascript not C++. Nokia QT is C++ however.
Re:Moving to QT Quick, Nokia has won the developers battle?
by davidw on Tuesday October 26, 2010 @06:53AM
(#1833711)
Ah, cool - Javascript is a very plausible language for mobile development.
Actually, it seems a bit crazy that Android and iPhone don't provide 'rapid prototyping' or 'script apps' using the Javascript interpreters they already have on board.
Re:Moving to QT Quick, Nokia has won the developers battle?
by joezydeco on Wednesday October 27, 2010 @12:00AM
(#1837189)
It's Javascript...that runs on an engine written with the Qt C++ libraries.
Re:Moving to QT Quick, Nokia has won the developers battle?
by daliusd on Wednesday October 27, 2010 @02:09AM
(#1837487)
I will not give to cut of my hand for that but I'm pretty sure that all popular javascript engines are written in C/C++. At least that applies to V8 and SpiderMonkey.
Re:Moving to QT Quick, Nokia has won the developers battle?
by joezydeco on Wednesday October 27, 2010 @08:26AM
(#1838224)
What I meant is that all of the graphics primitives and interaction handling is done by the Qt libraries, not the webkit layer. There is no webkit in a QML runtime...unless you embed a QWebKit element into your design.
Re:Moving to QT Quick, Nokia has won the developers battle?
by blub on Tuesday October 26, 2010 @08:06AM
(#1833837)
Yeah, this is a step in the right direction but it's not winning by a long shot.
You might want to look at HTML + JS for developing on Nokia. They have a web runtime toolkit that allows you to build an installable app that has access to some of the platform services (location, contacts, sensors, messages, etc).
Also... C++? I'm not that enthusiastic, really. I'm not a Java fan, but all in all, I think I'd prefer it at this point, if for nothing else than being a bit simpler and getting GC built in.