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

qtserialport requires udev unconditionally

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 6.2.0 Alpha
    • 5.15.2
    • Serial Port
    • None
    • Linux/X11
    • 66918b6492297e7750621d85d4372bf45e81a86d (qt/qtserialport/dev)

    Description

      The current version of qtserialport requires udev unconditionally.

      It seems, the variable QMAKE_LIBS_LIBUDEV (qtcore) is getting set to a library path if qtgui is not present and to "-ludev" if it is.

      Later, "qtConfig(libudev)"  src/serialport/serialport-lib.pri would pick up its value.

      As a result, qtserialport fails to build if qtgui is not installed or compiled without udev.

      See more details at Gentoo bugzilla:
      https://bugs.gentoo.org/673532

      Please add udev conditional flag, similar with qtcore or find a better solution
      Thank you.

      Attachments

        Activity

          People

            heimrich Karsten Heimrich
            blshkv Anton NG
            Maurice Kalinowski Maurice Kalinowski
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: