First of all, I'm very jealous of the Linux Desktop gang for holding their summit in the Canary Islands. I did a quick look at the cost and it's not any more than what I spent to go to Stuttgart for Eclipse Summit Europe. I can't wait to hear how it really was.
At that Summit, Nokia announced that they were moving from GTK to Qt for their Meamo Linux distribution for their handheld/tablet type devices. They were upfront about the reasons and it makes perfect sense. The plan is to have Qt as the default toolkit for Symbian devices as well. Learn one API and target them all. This is exactly what I hoped would happen with the Trolltech acquisition. So kudos to Nokia for a smart move.
And I hope through the Intel partnership with Nokia this will spread to Moblin too. For app developers, I think it's really critical that we see some consolidation on the number of mobile Linux platforms. The nightmare I see supporting all the different Linux distros in my day job doesn't need to be reproduced for mobile.
Anyway, that got me thinking again about Qt for my hobby activities. I want to learn what it takes to make games for mobile handsets and what kind of things the CDT would need to better support that. Having your work run on both mobile and in a simulation mode on the desktop makes a lot of sense, and one of the main drivers I see behind Windows adoption of the CDT. Qt would be a great framework for this for a few reasons. First you can target Windows and Linux desktop for simulation environments and the growing number of mobile platforms adopting Qt. And for me, Qt's QGLWidget and Android's GLSurfaceView work almost identically, further supporting my cross platform efforts. I'll have to peak at the iPhone SDK and see if that holds true there too.
Speaking of gaming on mobile. Most of the games I see there are actually 2D games. There are probably a few reasons for that, but 2D games are just easier to do. There's less pressure to actually simulate reality as you get with 3D. To help with 2D game development, a couple of guys in the Android community have ported the C++ Box2D physics engine to Androids NDK (Native Development Kit). Looking at all the cool 2D things I see on the iPhone and given the BSD nature of Box2D's license, I can imagine its driving a lot of them. And the results are pretty cool, especially if you hook up the accelerometer on these platforms. I'll have to play with it and see how easy it is to use.
Tuesday, July 07, 2009
Subscribe to:
Post Comments (Atom)

2 comments:
Box2D is cool and has been ported to quite a lot of languages/platforms. Rolando on the iPhone uses it, don't know about other iPhone games. I'm actually the author of the ScalaBox2D port (no official release yet). While I'm working on optimizing it, it will of course never match the C++ speed, but it has other bonuses: 3 times less lines of code (thus should be easier to grok, although all the math is the same), internal DSL to define bodies & scenes more easily, and SVG scene import is coming. I'm planning to try it on Android some time, if/when I get a device.
Yes, Qt everywhere ! :)
Improving Qt integration on CDT may help reaching more users, but don't forget that there's some competition here : Qt Creator :)
About Moblin, it will mainly use Clutter (opengl based toolkit):
http://www.phoronix.com/scan.php?page=article&item=moblin_v2_ui&num=1
And just a (noobish) question, would it be easy to make some kde development using CDT ?
Post a Comment