On Wed, 7 Aug 2013 05:34:14 PM christopher.l...@thurweb.ch wrote: > > "I believe the goal for QtLocation to be included with Qt is 5.2..." > > But isn't QtLocation included in the SailfishAlpha 2 ? > > I am confused on this: In the Alpha2 toolchain I find > /Users/christopherlamb/SailfishOSAlpha5/mersdk/targets/SailfishOS-i486- x86/u > sr/lib/qt5/qml/QtLocation. > > The SDK Control Center also shows qt5-qtlocation is installed in the > toolchain.
Qt Location will be included in the SDK. > On the Emulator, "zypper se location" showed qt5-qtlocation was not > installed, so I ran "zypper in qt5-qtlocation". > > However when I ran my app, I get the error > " > file:///opt/sdk/landedQt5_21/usr/share/landedQt5_21/otherqml/GPSApp.qml: 6:1: > module "QtLocation" is not installed > import QtLocation 5.0 > " qt5-qtlocation includes only the C++ library. To use with QML you will also need: qt5-qtdeclarative-import-location the QML import plugin and at least one geoservices plugin, either qt5-qtlocation-plugin- geoservices-nokia or qt5-qtlocation-plugin-geoservices-osm > Curiously I can't find where zypper installed QtLocation on the > Emulator. I had expected to find it somewhere near /usr/lib/qt5/qml rpm -ql qt5-qtlocation will list the files included in the package. Cheers, -- Aaron McCarthy
_______________________________________________ SailfishOS.org Devel mailing list