×

Discussion Board

Results 1 to 1 of 1
  1. #1
    Registered User
    Join Date
    Mar 2012
    Posts
    13

    Question QML Map element and MapPolyLine data coming from C++

    Hi

    I am in the process of becoming frustrated with QML.

    I have a QML Map element, and i'm trying to ploth a track in it.
    I understand that i have to create a MapPolyLine and add it to the map.
    The problem is: i have all the coordinate data in a C++ object, and i would really really really really like to avoid having to send it one by one to QML, and rebuild a MapPolyLine in qml every time.

    So the question is: is there a way i can create the qml mappolyline object in C++ and send it to qml? (i guess QML MapPolyLine is a wrapper for QGeoMapPolylineObject anyway)

    Alternately is there an alternate QML wrapper for QGraphicsGeoMap that can be created in C++ and passed to qml via customcomponents?

    Third approach would be finding the headers for the qtmobility qml bindings, istantiate the qml map object in c++ and pass it to qml somehow?. I stumbled upon these headers some time ago (it was a gitorius or github repo, iirc) but i lost the link..

    Any idea?
    Last edited by tedturbo; 2012-09-16 at 23:21.

Similar Threads

  1. Unable to play RTP Payload(Actual Voice Data coming from remote client) in WAV format
    By hereiam000 in forum Mobile Java Media (Graphics & Sounds)
    Replies: 4
    Last Post: 2010-06-06, 11:02
  2. How to know data is coming from the server
    By sweetsweet24 in forum Mobile Java Networking & Messaging & Security
    Replies: 5
    Last Post: 2008-12-01, 11:19
  3. Unable to play RTP Payload(Actual Voice Data coming from remote client) in WAV format
    By hereiam000 in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2008-06-20, 12:57
  4. Replies: 0
    Last Post: 2008-06-19, 15:03
  5. Replies: 1
    Last Post: 2007-08-09, 07:45

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •