Open the Nokia Maps application with QML or a Qt Widget application

  • Hello,

    I want to open the Nokia Maps application with defined coordinates for the center location.
    No "Maps"-object should be used, I want the actual application to open with coordinates like in the POIs menu and then "show on map" does.

    Thank you

  • Try using
    @ Qt.openUrlExternally("geo:61.446943,23.86449")@

    That open the current device map on that location.

  • Thanks, this is great.
    Now, I want this with my Qt Widget Based Mobile Application, i.e. C++ too, integrating it in a on_pushButton_clicked() event for example. How to do so?

    I gonna try...:

  • error: no matching function for call to 'QDesktopServices::openUrl(const char [23])'

  • Now trying... QDeclarativeEngine

  • Now trying... QDeclarativeEngine

    The result is:
    undefined reference to `QDeclarativeEngine::QDeclarativeEngine(QObject*)'

    unable to edit replys, (I already cleared cache and cookies) error message:
    Error 503 Service Unavailable

    Service Unavailable
    Guru Meditation:

    XID: 111677548

    Varnish cache server

  • QDesktopServices::openUrl(QUrl("geo:61.446943,23.86449")) did not work, the browser opened, that was fine, but then the intern error message with a red warning sign popped up: "web site not found"

    I refer to

    This shall be moved to Mobile and EMbeded

    To make this complete, I should link to "this thread": I found right now and it is very disappointing.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.