Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15.2
-
None
-
-
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.