QSerialDevice: compilation error "libudev.h: no such file or directory"

I checked QSerialDevice with (https://gitorious.org/qserialdevice). I need to download UDEV (http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html), but the link does not work. So, I skipped this and tried to create a library, but obviously I am getting the libudev.h error message.

How can i fix this?

I am using qextserialport but am having trouble reading, so I am trying to replace it with qserialdevice.

Thanks!

+7
source share
1 answer

For Ubuntu, install the libudev-dev package.

If you need other files, you can find the package containing it from http: //packages.ubuntu.com#search_contents

+14
source

All Articles