Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. [SOLVED] Compile or download libQtSerialPort.so.1 for QtSerialPort

[SOLVED] Compile or download libQtSerialPort.so.1 for QtSerialPort

Scheduled Pinned Locked Moved Mobile and Embedded
10 Posts 2 Posters 5.6k Views
  • 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
    lfxciii
    wrote on last edited by
    #1

    Hi

    I'm trying to build a project for an embedded linux device. But i get libQtSerialPort.so.1 not found. i'm using qt 4.8, can i download the libQtSerialPort.so.1 file somewhere, or can i compile it manually?

    any help is appreciated.

    Thanks

    Ruben

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

      Hi,

      First result of a google search is "this":http://qt-project.org/wiki/QtSerialPort

      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
        lfxciii
        wrote on last edited by
        #3

        Hi SGaist

        I had a look at the link before I posted, but couldn't get the build going, that's what i'm having problems with. it works on my desktop but it fails on my embedded device because it cant find this libQtSerialPort.so.1 library.

        Maybe i'm doing something wrong, don't know, but I open the serialport project and go build. have you build this project before, or what do you use for serialports?

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

          Then:

          • What's your building error ?
          • What's your target processor ?

          If your target uses the same process type (i.e. x86) you can copy libQtSerialPort.so* to the right place on your device (i.e in the same folder of your Qt installation)

          Currently I use my own implementation based on libftd2xx (the device I connect to are only using ftdi chips).

          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
            lfxciii
            wrote on last edited by
            #5

            Hi

            Only now had the time to come back to this issues.

            I'm trying to compile it for a ARM mini2440. I built it for my host machine and it works create.

            the error I'm getting is about <QtSerialPort/QserialPort> not being found.

            I followed the qmake then make then make install. Not sure how to compile and install it for a mini2440, would appreciate it if you could point me in the right direction.

            Thanks

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

              The same as for your host machine but using the qmake built for your Qt arm version.

              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
                lfxciii
                wrote on last edited by
                #7

                thank you for your reply.

                i used the qmake for my arm, but then when i run make, i get the following:

                :42:25: fatal error: QtTest/QtTest: No such file or directory

                i think this is the unit test project, but not sure where its supposed to be.

                any idea?

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

                  eventhough it threw an error on QtTest, it looks as if the projects were built, but i still need to understand why its looking for QtTest.

                  I appreciate your help.

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

                    AFAIK it should have been built & installed when you cross-compiled Qt

                    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
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      As you said, it might be the tests from QtSerialPort. You can grep through the sources to find which files include QTest

                      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

                      • Login

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