Hi Andrea,
The "native" import is an experimental cross-platform QML module. There is also 
a com.nokia.symbian component set available, which shares a quite a lot of the 
component API (see  http://bugreports.qt.nokia.com/browse/QTCOMPONENTS-200). 
Basically the Qt.labs.components.native equals com.nokia.meego in Harmattan SDK 
and com.nokia.symbian when installed on QtSDK. The Flicker and MusicPlayer 
demos uses only the common API and with the native import the same code can be 
run on both platforms. Like the namespace states 'labs', there is no 
compatibility/future promise on the module.

Hopefully this helps,
 -Pekka

Ps. there is own mailing list for QML components module: 
[email protected]

>-----Original Message-----
>From: [email protected] [mailto:qt-
>[email protected]] On Behalf Of ext
>[email protected]
>Sent: 28.06.2011 19:47
>To: [email protected]
>Subject: [Qt-qml] QML QtComponents examples using a strange import:
>Qt.labs.components.native vs com.meego
>
>Hi,
>
>I was trying to study this example for Harmattan:
>http://library.developer.nokia.com/index.jsp?topic=/MeeGo_1.2_Harmattan_
>API/html/qt-components/qt-components-example-flickr.html
>
>As you can see the import on QML files is:
>
>import QtQuick 1.0
>import Qt.labs.components.native 1.0
>
>what is that?
>
>When I create a new Harmattan in QtCreator, the import is quite different:
>
>import QtQuick 1.1
>import com.meego 1.0
>
>Which one is the right one to use? Thanks for your help!
>
>--
>Andrea Grandi - Nokia Qt Ambassador
>website: http://www.andreagrandi.it
>_______________________________________________
>Qt-qml mailing list
>[email protected]
>http://lists.qt.nokia.com/mailman/listinfo/qt-qml
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml

Reply via email to