1 2 3 4 5
contains(QT_CONFIG, libudev) { HEADERS += $$PWD/qudevhelper_p.h SOURCES += $$PWD/qudevhelper.cpp LIBS += -ludev }