Install UdevQt headers in Solid

David Rosca nowrep at gmail.com
Thu Nov 5 13:27:22 UTC 2015


Hi,

I was working on udev device notifier in kcm_keyboard [1] and ended up
with using libudev directly.

We are using libudev in various places, either directly or through
Solid's UdevQt. But in the case of UdevQt, all projects using it have
its own copy [2]. I think it would be better if Solid installs the
udevqt headers instead.

The headers are:

src/solid/devices/backends/shared/udevqt.h
src/solid/devices/backends/shared/udevqtclient.h
src/solid/devices/backends/shared/udevqtdevice.h

Would it be a problem that the headers only gets installed on Linux?
That means the project using it would need to use it only in
Linux-specific code.

Thanks,
David

[1] https://git.reviewboard.kde.org/r/125465/
[2] http://lxr.kde.org/ident?_i=udev


More information about the Kde-frameworks-devel mailing list