GPS Tracking in Qt Window(Desktop) Application



  • How to trace gps in qt window(gui) application without the use of simulator or symbian..

    Please share views..

    Thanks in advance..



  • I didn't understand exactly what do you search for but I recommend you to read "Qt Mobility Location API documentation":http://doc.qt.nokia.com/qtmobility/location-overview.html



  • find the location coordinates in desktop application using gps . i tried qt mobility but its available for symbian and in simulator..



  • [quote author="qtdev" date="1345281901"]find the location coordinates in desktop application using gps . i tried qt mobility but its available for symbian and in simulator..[/quote]

    According to the documentation Qt Mobility 1.2 Location API is compatible with all supported platforms including Windows XP/Vista, Linux and Mac OS X.

    What kind of GPS device are you using and how do you connect it to the desktop?



  • yes it applicable for all platform but question is that making gui software that run on computer(desktop) and want to show the coordinate on console.



  • [quote author="qtdev" date="1345282554"]yes it applicable for all platform but question is that making gui software that run on computer(desktop) and want to show the coordinate on console.[/quote]

    well... then just "retrieve the coordinates of the location":http://qt-project.org/wiki/Retrieve_Location_Using_Qt_Mobility and print them.



  • #include <QGeoPositionInfo>
    #include <QGeoPositionInfoSource>
     
    // QtMobility namespace
    QTM_USE_NAMESPACE
    

    for this i need to include simulator but for that i had to select qt simulator in target setup dialog box..i implemented this example but when i running this application it give the coordinate but show qt simulator control et.c..

    question 1 is there any way such that by selecting desktop in target setup dialog box and implement this..

    if i not select qt simulator in target setup dialog box then green line appear on this
    #include <QGeoPositionInfo>
    #include <QGeoPositionInfoSource>

    // QtMobility namespace
    QTM_USE_NAMESPACE
    

    ..

    whats the solution...

    thanks in advance...



  • To use QtMobility on desktop you have to download the sources and compile it yourself. It is not installed by default in Qt SDK. After that you will be able to compile for desktop.
    Back to GPS question, on desktop the geo position returned coordinates, are zeros. I dont know if QtMobility supports desktop GPSs.

    regards



  • GIVE THE SOLUTION FOR THIS

    #include <QGeoPositionInfo> #include <QGeoPositionInfoSource> // QtMobility namespace QTM_USE_NAMESPACE

    for this i need to include simulator but for that i had to select qt simulator in target setup dialog box..i implemented this example but when i running this application it give the coordinate but show qt simulator control et.c..

    question 1 is there any way such that by selecting desktop in target setup dialog box and implement this..

    if i not select qt simulator in target setup dialog box then green line appear on this #include <QGeoPositionInfo> #include <QGeoPositionInfoSource>
    // QtMobility namespace QTM_USE_NAMESPACE ..

    whats the solution…

    thanks in advance…



  • here everyone can read (don't copy and paste a previous post) and everyone know etiquette (bold+uppercase is more then yell and nobody like that).
    Instead of screamin, tell us what you didn't get in my last post and MAYBE someone will point you better then me



  • I download the qt mobility after what i do is there any need to configure any thing or set in anywhere in qt creator for build the program..please help..

    [quote author="deimos" date="1345293530"]To use QtMobility on desktop you have to download the sources and compile it yourself. It is not installed by default in Qt SDK. After that you will be able to compile for desktop.
    Back to GPS question, on desktop the geo position returned coordinates, are zeros. I dont know if QtMobility supports desktop GPSs.

    regards[/quote]


Log in to reply
 

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