[SailfishDevel] (QtLocation 5.0) Coordinate is not a type

christopher.lamb at thurweb.ch christopher.lamb at thurweb.ch
Wed Nov 20 10:24:50 UTC 2013


Hi Jonni

Thanks, bug now opened ...

https://bugreports.qt-project.org/browse/QTBUG-34963

Chris

Zitat von "Jonni Rainisto" <jonni.rainisto at jolla.com>:

> if its a bug in qtlocation then https://bugreports.qt-project.org
>
> And you might want to check if there are fixes in the pipeline  
> already  
> https://codereview.qt-project.org/#q,status:open+project:qt/qtlocation,n,z
>
> re, Jonni
> ________________________________________
> From: devel-bounces at lists.sailfishos.org  
> [devel-bounces at lists.sailfishos.org] on behalf of  
> christopher.lamb at thurweb.ch [christopher.lamb at thurweb.ch]
> Sent: Wednesday, November 20, 2013 11:52 AM
> To: Aaron McCarthy; Sailfish OS Developers
> Subject: Re: [SailfishDevel] (QtLocation 5.0) Coordinate is not a type
>
> Aaron
>
> Having had a closer look at the Positioning sources, I think
> positioning.cpp is missing a line like:
>
> qmlRegisterType<QDeclarativeCoordinate     >(uri, major, minor,  
> "Coordinate");
>
> Where would be the best place to report this as a bug?
>
> Chris
>
>
> Zitat von "Aaron McCarthy" <aaron.mccarthy at jolla.com>:
>
>> Hi,
>>
>> On Wed, 20 Nov 2013 07:52:14 tw_bolek wrote:
>>> What a mess...   It looks that it must have been moved from QtLocation to
>>> QtPositioning only recently.
>>
>> The positioning class were split out into a separate library to allow using
>> them in console applications without pulling in a lot of GUI dependencies.
>> Only the positioning library is being released with Qt 5.2. Non of the maps,
>> routing, places, and geocoding related classes have been officially released
>> by the Qt Project.
>>
>>> It seems to be only in QtPositioning 5.2. That's why it wasn't recognized
>>> despite importing both QtLocation 5.0 and QtPositioning 5.0....
>>
>> That is true, however, what is included in SailfishOS/Mer is very
>> close to 5.2
>> even though it declares itself as 5.1. "import QtPositioning 5.0"  
>> and "import
>> QtLocation 5.0" should work.
>>
>>> Where and how can I install QtPositioning 5.2 from?  The one I have
>>> installed is 5.0.....   Trying to import QtPositioning 5.2 returns:
>>> "QtPositioning" version 5.2 is not installed "...
>>
>> The RPM package you will need for development are  
>> qt5-qtpositioning-devel and
>> qt5-qtlocation-devel.
>>
>> At runtime you will need qt5-qtdeclarative-import-positioning and qt5-
>> qtdeclarative-import-location, qt5-qtpositioning, qt5-qtlocation, plus
>> whatever positioning/geoservices plugins your application requires.
>>
>> Cheers,
>>
>> --
>> Aaron McCarthy
>> _______________________________________________
>> SailfishOS.org Devel mailing list
>>
>
>
> _______________________________________________
> SailfishOS.org Devel mailing list
> _______________________________________________
> SailfishOS.org Devel mailing list
>




More information about the Devel mailing list