[Development] QtLocation in Qt5

Ramakanthreddy Kesireddy Ramakanthreddy.Kesireddy at techmahindra.com
Fri Apr 18 14:25:09 CEST 2014


Iam using Qt5.3 Beta .. However, while trying to use QtLocation 5.3, it says module Qt location is not installed.
Am I missing anything?

Thanks and Regards,
Ramakanth

From: development-bounces+ramakanthreddy.kesireddy=techmahindra.com at qt-project.org [mailto:development-bounces+ramakanthreddy.kesireddy=techmahindra.com at qt-project.org] On Behalf Of Kate Alhola
Sent: Monday, March 24, 2014 5:29 PM
To: Blasche Alexander
Cc: Martin.Kroell at ehrhardt-partner.com; development at qt-project.org
Subject: Re: [Development] QtLocation in Qt5

I ended up to porting Qt4.8 location maps to Qt5.3. There was also one other major issue in Qml side. I Use Qml UI but In my application data was produced by C++ code and there least was no way to pass C++ map objects to Qml commponent because there was separate QGeoMapObject atc and QDeclarative equivalents without either conversion functions between them or creating qdeclalarativenmap items was not possible in C++ code.
I really hope that when new map code is ready, you could use C++ created data on Qml maps.
Kate

On Mon, Mar 24, 2014 at 12:31 PM, Blasche Alexander <Alexander.Blasche at digia.com<mailto:Alexander.Blasche at digia.com>> wrote:
Hi,

It is possible to display maps in QtLocation 5.2 and 5.3. I would recommend 5.3 though as it has a lot more fixes. There isn't much of a feature difference between the two versions of QtLocation.

You have to use QML for the map logic. There is no equivalent C++ API at this stage. The reason is the shift away from GraphicsView in QtMobility to Qt3D/QML/Declarative in Qt 5.x.

However I would like to point out that the QtLocation API is not yet released. The main reason for the delay are some missing architectural changes (removal of Qt3D). On the positive side, the QML API for QtLocation 5.3  will commit on its API (despite the missing release). That's another reason why I'd recommend 5.3.

The most likely official release target is going to be Qt 5.4 considering that Gunnar just wrote a patch removing Qt3D.

--
Alex

________________________________________
From: development-bounces+alexander.blasche=digia.com at qt-project.org<mailto:digia.com at qt-project.org> [development-bounces+alexander.blasche=digia.com at qt-project.org<mailto:digia.com at qt-project.org>] on behalf of Martin.Kroell at ehrhardt-partner.com<mailto:Martin.Kroell at ehrhardt-partner.com> [Martin.Kroell at ehrhardt-partner.com<mailto:Martin.Kroell at ehrhardt-partner.com>]
Sent: Monday, March 24, 2014 10:32
To: development at qt-project.org<mailto:development at qt-project.org>
Subject: [Development] QtLocation in Qt5

Hi,
I've a question about the current development state of the QtLocation
module.
We are currently porting our application to Qt5 and we used QtMobility for
displaying a map in Qt4.8.
I checked the qt/qtlocation repository but it seems that all sources for
displaying map in a c++ application are missing.

So, do we have no chance to display maps in Qt5.2? What are the plans for
Qt5.3?

Best regards
Martin Kröll

_______________________________________________
Development mailing list
Development at qt-project.org<mailto:Development at qt-project.org>
http://lists.qt-project.org/mailman/listinfo/development
_______________________________________________
Development mailing list
Development at qt-project.org<mailto:Development at qt-project.org>
http://lists.qt-project.org/mailman/listinfo/development


________________________________

DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.


============================================================================================================================
Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html externally http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra.
============================================================================================================================

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20140418/7b280d1b/attachment.html>


More information about the Development mailing list