Results 1 to 7 of 7

Thread: Google Maps API and Qt 4 desktop app integration

  1. #1
    Join Date
    Aug 2009
    Posts
    10
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Question Google Maps API and Qt 4 desktop app integration

    tHIS is more related to google API then Qt 4
    Those of you who have used Google API . cOULD U TELL ME how to integrate Google Maps API in a desktop app and not a web app.

    On google web site they are offering the API to integrate it as a web app on your site

    I want to create a simple address book with location tracing in Google map window as a Central window in the application, but dont know how to go about

    please guide me how to go about

  2. The following user says thank you to udit for this useful post:

    TheIndependentAquarius (13th May 2011)

  3. #2
    Join Date
    Mar 2007
    Location
    Germany
    Posts
    229
    Thanks
    2
    Thanked 29 Times in 28 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Google Maps API and Qt 4 desktop app integration

    Maybe you can use a QWebView (http://doc.trolltech.com/4.5/qwebview.html#details).

  4. The following 2 users say thank you to Boron for this useful post:

    TheIndependentAquarius (13th May 2011), udit (3rd September 2009)

  5. #3
    Join Date
    Jan 2008
    Location
    Warsaw, Poland
    Posts
    26
    Thanked 5 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    2

    Default Re: Google Maps API and Qt 4 desktop app integration

    Go and read blog post about new part of Qt Mobility project: Location API. I know that this is not exactly an answer to your question, but there is also a link to repository with sources, so check them out.
    If you use Qt Creator, then don't hesitate to test my Dark theme for Qt Creator.

  6. The following user says thank you to przemoc for this useful post:

    udit (3rd September 2009)

  7. #4
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Google Maps API and Qt 4 desktop app integration

    May be this post might be of some use to you

  8. The following 2 users say thank you to aamer4yu for this useful post:

    TheIndependentAquarius (13th May 2011), udit (3rd September 2009)

  9. #5
    Join Date
    Aug 2009
    Posts
    10
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Google Maps API and Qt 4 desktop app integration

    thankyou all guys
    just what i needed

  10. #6
    Join Date
    Aug 2009
    Posts
    30
    Thanks
    13
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: Google Maps API and Qt 4 desktop app integration

    How do you draw on your map ? Is-It possible to draw with qpainter on the map ? I have game using qpaint and I want get map in background from google map. is it possible ?

  11. #7
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Google Maps API and Qt 4 desktop app integration

    You can override paintEvent of QWebview...
    first call base class paintevent... and then do your drawing..

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.