Preview of Qt 5 for Android Published March 13, 2013 | By Eskil Abrahamsen Blomfeldt The first commit in the effort to port Qt 4 to Android was on Christmas Day, 2009: “Android mkspecs and semaphore” by BogDan Vatra. On January 22nd, 2010, he committed “毕业论文 A small step for Qt, a giant leap for android” with a working graphics system plugin and could actually run Qt applications on an Android device. He uploaded a video to celebrate. On February 20th, 2011, he announced the first usable release of Qt 4 for Android, under the moniker of Necessitas. For the past 3+ years, BogDan and others have been (and are still)developing Necessitas on their spare-time, and on November 8th, lastyear, BogDan agreed to take his work into Qt 5 and submit the port to the Qt Project. He pushed the first version of Qt 5 for Android to a WIP branch onJanuary 4th, and recently we integrated into the “dev” branch, meaningthat it will become part of Qt 5.1 when it is released. For this preliminary release, we are focusing on the developerexperience, working to enable Qt developers to easily run and test theirapplications on Android devices. While there’s nothing preventing youfrom deploying your app to an app store with Qt 5.1, we’re recommendingthat people wait until Qt 5.2 before they do that, as we’d like to putsome more work into improving that experience: Making more options forhow your app is deployed, adding more polish in general, and adding moresupport for Android APIs, both by allowing you to extend your app withJava code or by mapping them in C++ APIs, whichever makes the mostsense. On to the demos! To start off, here’s a video of the Qt 5 Cinematic Experience demorunning on (from left to right): a Nexus 4, an Asus Transformer PadTF300T and a Nexus 7. The Cinematic Experience demo has quickly becomeour demo of choice at events, because it nicely shows a lot of the newgraphical capabilities in Qt Quick 2, such as shader effects, particleeffects, the new PathAnimation as well as the hardware-acceleratedSceneGraph architecture underneath, which makes it possible to run allthis at 60 fps.
In addition to the core parts of Qt, we also support the QML mediaplayer APIs in QtMultimedia. Here’s a nice video player written by Andyin QML, with fragment shader effects on top of the video, running on anAsus Transformer TF300: [1] [2] 下一页
|