How to configure Qt with enabled udev support?
-
Hi,
Do you have the udev library development package installed ?
-
@MHermann said in How to configure Qt with enabled udev support?:
on my Ubuntu
You need them in your sysroot for your target device
-
@MHermann Depends on how you create the sysrott. For RPi one usually puts the SD card into RPi boots it, installs what is needed, shuts it down, puts the SD into PC card reader, mounts it (read-only is better) and uses the mount directory as sysroot.
One tip: if you want to know why something is missing add -v parameter to configure call and check its output.
-
@MHermann said in How to configure Qt with enabled udev support?:
Is it also possible to add udev?
With quite a big effort it is. You can download the needed deb packages for your target extract them and put the content in the directories they belong to.
-
@jsulm : Now I tried the following:
- I installed udev on my Raspi image (udev, libudev*).
- I copied the Raspi image from sdcard on my computer.
- I used this image as sysroot and configured the Qt.
=> But the udev support is still disabled.
What I am doing wrong?
-
Did you re-run configure from a clean state ?