PDA

View Full Version : ask bout qserialdevice



azizbillah
27th April 2012, 09:34
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

kuzulis
27th April 2012, 14:06
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:



#linux*:DEFINES += HAVE_LIBUDEV


PS: But better use the QtSerialPort : http://qt-project.org/wiki/QtSerialPort

azizbillah
1st May 2012, 12:32
Thank you, is QTSerialPort work in QT 4?, because it's said that The QtSerialPort module is an add-on for the Qt5 library

kuzulis
2nd May 2012, 17:38
Yes, it works on Qt4., Don't worry ;)