Hi,

> Is it expected for applications to link against the plugin and make use the 
> private headers?

No, they are private and subject to change. The intended API accessible from 
C++ is ~same as from QML.

Some guides for combining QML and C++:
http://doc.qt.nokia.com/latest/qtbinding.html
http://www.forum.nokia.com/document/Mobile_Hands-on_Labs/Qt/QtQuick/02_09.html

Juha

>-----Original Message-----
>From: [email protected]
>[mailto:[email protected]]
>On Behalf Of ext Michael Leibowitz
>Sent: Monday, March 14, 2011 12:05 PM
>To: [email protected]
>Subject: [Qt-mobility-feedback] location declaritive plugin
>
>I've been trying to write a C++/QML app that uses the location plugin,
>but I have to say that I have had a difficult time.  For example, I can
>use QGeoPlace in my C++ side, but the way this is provided in QML by the
>plugin is through QDeclarativeGeoPlace.  Short of linking against the
>plugin and including private headers, it seems that I need to replicate
>the declarative wrapping of common classes in my C++ application.  Am I
>misunderstanding the situation?  Is it expected for applications to link
>against the plugin and make use the private headers?
>
>Cheers
>--
>Michael Leibowitz <[email protected]>
>
>_______________________________________________
>Qt-mobility-feedback mailing list
>[email protected]
>http://lists.qt.nokia.com/mailman/listinfo/qt-mobility-feedback
_______________________________________________
Qt-mobility-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-mobility-feedback

Reply via email to