I'm trying to compile a qserialdevice source code from this site https://gitorious.org/qserialdevice, but it's not working, the problem is that compiler cannot find -ludev, anyone could give me some help please?, thank you, regard
I'm trying to compile a qserialdevice source code from this site https://gitorious.org/qserialdevice, but it's not working, the problem is that compiler cannot find -ludev, anyone could give me some help please?, thank you, regard
Install libudev-devel packages for your Gnu/Linux distributive.
Or (for QSerialDevice 2.0) if you do not need Udev, then do comment on /examples:
Qt Code:
#linux*:DEFINES += HAVE_LIBUDEVTo copy to clipboard, switch view to plain text mode
PS: But better use the QtSerialPort : http://qt-project.org/wiki/QtSerialPort
Thank you, is QTSerialPort work in QT 4?, because it's said that The QtSerialPort module is an add-on for the Qt5 library
Yes, it works on Qt4., Don't worry![]()
Bookmarks