[Qt-qml] QML QtComponents examples using a strange import: Qt.labs.components.native vs com.meego

a.grandi at gmail.com a.grandi at gmail.com
Tue Jun 28 18:47:09 CEST 2011


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


More information about the Qt-qml mailing list