Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. GPS Tracking in Qt Window(Desktop) Application
Forum Updated to NodeBB v4.3 + New Features

GPS Tracking in Qt Window(Desktop) Application

Scheduled Pinned Locked Moved General and Desktop
11 Posts 3 Posters 5.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Q Offline
    Q Offline
    qtdev
    wrote on last edited by
    #1

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

    Please share views..

    Thanks in advance..

    1 Reply Last reply
    0
    • L Offline
      L Offline
      leon.anavi
      wrote on last edited by
      #2

      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

      http://anavi.org/

      1 Reply Last reply
      0
      • Q Offline
        Q Offline
        qtdev
        wrote on last edited by
        #3

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

        1 Reply Last reply
        0
        • L Offline
          L Offline
          leon.anavi
          wrote on last edited by
          #4

          [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?

          http://anavi.org/

          1 Reply Last reply
          0
          • Q Offline
            Q Offline
            qtdev
            wrote on last edited by
            #5

            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.

            1 Reply Last reply
            0
            • L Offline
              L Offline
              leon.anavi
              wrote on last edited by
              #6

              [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.

              http://anavi.org/

              1 Reply Last reply
              0
              • Q Offline
                Q Offline
                qtdev
                wrote on last edited by
                #7
                #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...

                1 Reply Last reply
                0
                • D Offline
                  D Offline
                  deimos
                  wrote on last edited by
                  #8

                  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

                  1 Reply Last reply
                  0
                  • Q Offline
                    Q Offline
                    qtdev
                    wrote on last edited by
                    #9

                    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…

                    1 Reply Last reply
                    0
                    • D Offline
                      D Offline
                      deimos
                      wrote on last edited by
                      #10

                      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

                      1 Reply Last reply
                      0
                      • Q Offline
                        Q Offline
                        qtdev
                        wrote on last edited by
                        #11

                        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]

                        1 Reply Last reply
                        0

                        • Login

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Users
                        • Groups
                        • Search
                        • Get Qt Extensions
                        • Unsolved