> -----Original Message----- > From: qt-components-bounces+kai.koehne=nokia....@qt.nokia.com > [mailto:qt-components-bounces+kai.koehne=nokia....@qt.nokia.com] On > Behalf Of ext sarvesh saran > Sent: Wednesday, April 13, 2011 9:31 AM > To: qt-components@qt.nokia.com > Subject: [Qt-components] "package not found" error > > Hi, > > I am trying to build a test application for Symbain3 using the Qt Quick > components as described in the link: > > http://labs.qt.nokia.com/2011/04/08/qt-quick-components-for-symbian- > technology-preview. > > in my qml file I've declaring : import com.nokia.symbian 1.0. > > However this import statement is underlined in red and the tool tip says > "package not found".
Hi, QtCreator 2.1 isn't really up to supporting the QtQuick component set. We plan to support Components in the text editor in the upcoming version 2.2, and if you're adventurous you could give it already a try (e.g. from nightly snapshots: http://get.qt.nokia.com/qtcreator/snapshots/) . However, be warned that switching then 'back' to 2.1 isn't really supported, and might result in a crippled installation (e.g. MinGW directory gets 'lost' for your Qt version). We plan to deliver 2.2 as an update in the SDK soon after it's released. > I tried using QML_IMPORT_TRACE =1 which outputs the following : > QDeclarativeImportDatabase::addImportPath: > "C:\QtSDK\Simulator\Qt\mingw\imports" This trace is from the running app. In the editor we've to emulate the import resolution beforehand, so things are different here. > I'm not sure how to fix this import error. I've followed all the > instructions in > specified in the link and was even able to install the examples "flickr" etc > in > my E7. I suggest either to ignore it, or to switch to 2.2. > thanks, > Sarvesh > > -- Kai Koehne Software Engineer Nokia, Qt Development Frameworks Nokia gate5 GmbH Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B Umsatzsteueridentifikationsnummer: DE 812 845 193 Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori _______________________________________________ Qt-components mailing list Qt-components@qt.nokia.com http://lists.qt.nokia.com/mailman/listinfo/qt-components