Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-46154

Cannot run QtSerialPort apps on Raspberry Pi 2 Qt 4.8.2

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 4.8.2
    • Fix Version/s: 4.8.x
    • Component/s: Serial Port
    • Labels:
      None
    • Environment:
      Raspberry Pi 2 (Qmake 2.01a with Qt 4.8.2) Kernel 3.18.7-v7+

      Description

      Hi,
      Until now I has happily using the default Qt install that comes with Raspberry Pi (4.8.2). All I had to do was get qtserialport from git.

      Today trying to setup the qtserialport on a new RPi 2 I get the following errors when trying to build a Qt application which uses qtserialport. I think it it related to http://code.qt.io/cgit/qt/qtserialport.git/commit/?h=qt4-dev&id=d15bf9d678085c4572068c84db884e9a72e98b84

      *******
      g++ -Wl,-O1 -o AWSAM5BS main.o serialhandle.o moc_serialhandle.o -L/usr/lib/arm-linux-gnueabihf -lQtSerialPort -lQtNetwork -lQtCore -lpthread

      /usr/lib/arm-linux-gnueabihf/libQtSerialPort.so: undefined reference to `QSerialPort::dataErrorPolicyChanged(QSerialPort::DataErrorPolicy)'

      /usr/lib/arm-linux-gnueabihf/libQtSerialPort.so: undefined reference to `QSerialPort::settingsRestoredOnCloseChanged(bool)'

      collect2: ld returned 1 exit status
      *******

      Thanks

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            kuzulis Denis Shienkov
            Reporter:
            akshat.bisht Akshat Bisht
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes