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

libQt5SerialPort.prl and Qt5SerialPort.pc have incorrect libs for linking

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.3.0
    • 5.2.0
    • Build tools: qmake
    • None
    • Debian
    • c1474946199b37a8bae52e39cc8dca41e6042618

    Description

      The prl and pc files are indicating the need of linking against libudev which is definitely a private dependency. So stuff building against serialport will needlessly need to install libudev to needlessly link against it.

      usr/lib/x86_64-linux-gnu/pkgconfig/Qt5SerialPort.pc:11:Libs.private: -ludev -lQt5Core -lpthread
      usr/lib/x86_64-linux-gnu/libQt5SerialPort.prl:6:QMAKE_PRL_LIBS = -ludev -lQt5Core -lpthread

      Attachments

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

        Activity

          People

            buddenha Oswald Buddenhagen
            lisandropm Lisandro Damián Nicanor Pérez Meyer
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes