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. libQtSerialPort Installation Troubles
Forum Updated to NodeBB v4.3 + New Features

libQtSerialPort Installation Troubles

Scheduled Pinned Locked Moved Solved Mobile and Embedded
5 Posts 2 Posters 1.2k 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.
  • T Offline
    T Offline
    timroberts
    wrote on last edited by
    #1

    Hello,

    I'm having trouble installing libQtSerialPort on version 4.8, Qt Creator 3.1.1. I'm cross compiling to a Beaglebone Black running Debian.

    I have both Qt and Creator installed, but I'm having trouble getting the qSerialPort plugin installed.

    As far as possible, I've followed the instructions on the wiki.

    I've downloaded the source code, and run qmake on the project file. When I run make on the makefile, it fails notifying me of a LOT of multiple declarations in moc_qserialport.o and moc_qserialport.cpp.

    I don't understand where these are coming from or why I am getting these errors. Any suggestions on how to deal with this are appreciated.

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

      Hi,

      IIRC there's a Qt4 dedicated branch, did you use that one ?

      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
      • T Offline
        T Offline
        timroberts
        wrote on last edited by
        #3

        Yes I did. I cloned the git repository, checked out the qt4-dev branch, made my qtserialport-build directory, ran qmake ../qtserialport/qtserialport.pro which generated my make file. I ran make and it goes most of the way through until it generates this list of multiple declarations.

        1 Reply Last reply
        0
        • T Offline
          T Offline
          timroberts
          wrote on last edited by
          #4

          OK, so I'm not certain what exactly I did, it appears to be something to do with my PATH variable, but I somehow got it to compile and install. A bit of a head scratcher on what I did differently, but it's in now. Thanks anyways for the help!

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

            Well the essential is that you now have it working :)

            Please mark the thread as solved using the "Topic Tool" button so that other forum users may know a solution has been found :)

            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