原文见:
http://labs.qt.nokia.com/2011/07/06/ready-made-ui-building-blocks-at-your-service-qt-quick-components-for-symbian-and-meego-1-2-harmattan/ Qt Quick has been around for a little while now, helping developersmake great looking, responsive user interfaces. And it is nice to see somany applications in Ovi Store utilizing this new technology. But wewant to keep taking it further and one of the ways we’re doing that isby adding ready-made UI building blocks to Qt Quick. We call thesebuilding blocks
Qt Quick components!
In brief, Qt Quick components is a UI component set for Qt Quickapplication developers and designers. It helps to create a fresh andmodern UX with added productivity. In the first phase, the Symbian andMeeGo 1.2 Harmattan platforms are covered. For more information on thehistory of this project so far, see the related Qt Labs postings below.
Symbian A component palette in Qt Quick
DesignerQt Quick components 1.0 for Symbian is available nowas an update for Qt
SDK, and it includes targets, documentation andexample code. You can obtain Qt Quick components for Symbian in eitherof the following ways:
- If you have Qt SDK 1.1 installed, open Qt SDK’sMaintenance tool in Qt Creator ( Help | Start Updater ) and find from“Package Manager” a “Qt Quick components for Symbian” update under“Experimental” category.
- If you don’t have Qt SDK installed yet, find a online installer http://qt.nokia.com/downloads and remember to select “Custom installation” and ”Qt Quick components for Symbian” under “Experimental”.
Then, just import com.nokia.symbian and you have a fresh set ofcomponents at your disposal. Now developers and designers can easilystart to use the Qt Creator’s application wizard and Qt Quick Designer(see the screenshot on the right). In addition to visible controls suchas buttons, menus, dialogs and indicators, Qt Quick components 1.0 forSymbian provides invisible components for
window and navigationhandling. A full list of components is available online as a part of QtQuick components’ documentation at
http://doc.qt.nokia.com/qt-components-symbian-1.0/qt-components.htmlTo get started with the overall UI design for Symbian, see updated Symbian Design Guidelines at
Nokia Developer web site:
http://www.developer.nokia.com/Resources/Library/Symbian_Design_Guidelines/For an easy deployment, Qt Quick applications using Qt Quickcomponents are now ready for Ovi Store delivery. Just choose a fewoptions in Qt Creator to
make your application compatible with SmartInstaller. Smart Installer will ensure that all necessary modules (nowincluding Qt Quick components) are available in consumers’ Symbian^3 andSymbian Anna devices (S60 5th edition devices are
not supported in thefirst phase)
To make your application compatible with Smart Installer, use QtCreator’s application wizard and make sure that “Create Smart InstallerPackage” is checked in “Projects | Symbian Device | Create SIS package”.For more information, see
http://doc.qt.nokia.com/smart-installer/A good starting point to get touch with a code and see Qt Quickcomponents in action, is to check code examples and demos in Qt SDK oronline at
http://doc.qt.nokia.com/qt-components-symbian-1.0/qt-components-examples.html
MeeGo Harmattan Two weeks back, Qt SDK was updated with the new target for MeeGo 1.2Harmattan. Please note that the support for MeeGo 1.2 Harmattan is notfully completed yet and maturation is ongoing.
Qt Quick components for MeeGo 1.2 Harmattan areincluded in the target and applications developed by using it are readyto the Ovi Store submission. It is highly recommended that applicationsare tested using the final target (when available) and verified ondevice with updated SW.
Nothing stops you to start development for Nokia N9 (
http://blog.qt.nokia.com/2011/06/21/nokian9/) today! To get familiar with Nokia N9 UX Guidelines, visit in
http://www.developer.nokia.com/swipe/ux/. Formore information about Qt Quick components for MeeGo 1.2 Harmattan,please refer to the documentation in Qt SDK. Here is a blog entry thatgives an overview how you can get started:
http://www.developer.nokia.com/Community/Blogs/blog/kate-alholas-forum-nokia-blog/2011/06/23/nokia-meego-1.2-harmattan-qt-quick-components Next Steps It took some time to move MeeGo Harmattan components’ code back tothe upstream. However, now Qt Quick components for MeeGo 1.2 Harmattanis developed in the same public repository as Symbian components:
http://qt.gitorious.org/qt-components/At the Qt Contributors’ Summit in June, there was a lot of discussionabout experimental sets of components for desktops and a custom set ofcomponents. It was nice to notice that there is a lot of interest aroundQt Quick components in the community, so stay tuned and keepcontributing to the Qt projects!
As an immediate next step we wish to have a lot of new innovative Qt Quick applications using Qt Quick components in Ovi Store!