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. access to gpsd c++ wrapper classes in QT
Forum Updated to NodeBB v4.3 + New Features

access to gpsd c++ wrapper classes in QT

Scheduled Pinned Locked Moved Solved General and Desktop
13 Posts 2 Posters 5.1k Views 2 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.
  • L Offline
    L Offline
    Lineaxe
    wrote on last edited by
    #3

    Hi , I am using distribution software on Ubuntu and also on an ARM architecture based computer. They were both installed using sudo apt-get install qtcreator. Both machines have a different version ( qtcreator 2.5 and qt 4.8.1) & (qtcreator 3.0 and qt 5.2.1) based on the latest update of their repositories. I do cross compiling in Eclipse but have not tried it with QT so far. I have enough stuff to figure out as it is...Hmm , I am doing a search through Github to see if I can find libQgpsmm there. Is there anywhere else I should check?
    I should mention libgpsmm.cpp and it's header are listed, and since I am writing code in cpp I can use that option. Do you think I can include all the headers and cpp files as well as all the relevant c files into a new project and then have it compile? I am going to try it this way right now to see what will happen.
    Since the daemon is already running and tested I only need the wrapper classes for the c code used to interface with it.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #4

      Ubuntu already provides that library, see here

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • L Offline
        L Offline
        Lineaxe
        wrote on last edited by
        #5

        That looks great, I actually will need it for the ARM processor ,but I can test it out on Ubuntu first to make sure it works.
        I appreciate this a lot. For any other programmers info , you can use the software center. Go under developer tools and make a search for libgpsmm-dev ,then click to install it .
        Now I will look to see if I can find a similar method on the other ARM computer... :)

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #6

          Debian has it for ARM

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • L Offline
            L Offline
            Lineaxe
            wrote on last edited by
            #7

            You know I just was digging in there as well for the libraries. This is all looking very possible now. Still new to QT , I am becoming more enthusiastic with using it every day. Already have one project nearly ready for release :) . You know going back to C++ isn't so bad, after all...

            1 Reply Last reply
            0
            • L Offline
              L Offline
              Lineaxe
              wrote on last edited by
              #8

              Heh just tried to install on the ARM machine and it installed the version that I was trying out and then it killed off the O/S ...I see there are going to be some teething problems before I get it all working...

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #9

                Killed the OS ? What do you mean ?

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • L Offline
                  L Offline
                  Lineaxe
                  wrote on last edited by
                  #10

                  It stopped the O/S from loading everything it needed on reboot. It froze it up... So I thought It would be a good time to upgrade to the newest version of the O/S .. That version is not QT Creator friendly yet.. I spent too much time just trying to install. So in the end I went back to the version I had been using. No problem getting QTCreator working with it. I kinda need to write code on one project, and experiment in this other one. So I will be looking into making multiple images of the 2 different O/S's...

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #11

                    Was there dependencies missing ?

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    0
                    • L Offline
                      L Offline
                      Lineaxe
                      wrote on last edited by
                      #12

                      Yes , I tried a couple of quick fixes that I had found searching google to do this qtcreator install. However they did not bring in all the needed dependencies I am pretty certain. Well, I decided to set up an experimental O/S to work on that one. Meanwhile I am back to coding for a short while on another project using an earlier release of the O/S.

                      1 Reply Last reply
                      0
                      • L Offline
                        L Offline
                        Lineaxe
                        wrote on last edited by Lineaxe
                        #13

                        I solved this issue a little while ago. It was about getting the gpsd interface libraries to work on the arm (debian) computer. I needed to upgrade to Debian 8 since the libraries I located were for that O/S (they crashed the older O/S) . I then installed synaptic package manager and used it to install the libraries needed. Synaptic also gave me information on where the .so libraries were located so that I could use that to browse for the ones needed when adding them into the project. I selected system library (Internal, External, System ,System package) . I then was able to include the libgpsmm.h files into the header of a .cpp source file and access the gpsd from inside my code.

                        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