Hi, just another "playarround" for unix autodetection. You can find it at unix_udev branch on my github account [1].This version uses libudev in combination with this [2] version of QUdev Qt wrapper class for libudev. No udev rules have to be created, libudev provides enumeration an monitoring functions.
I didn't include QUdev in the repo, just copied to linux_minidisc folder added following line to QUdev.pro :
"CONFIG += staticlib create_prl" to create a static lib and prl file.First built QUdev and than built qhimdtransfer by including QUdev prl file in qhimdtransfer.pro.
I didn't include QUdev in the repo as this is just another test environment for autodetection mechanism and i had problems linking to QUdev dynamically.
As my first versions, this version just displays debug messages only.Please read the comments in the source code, there are some hints on how to use this if we want a real minidisc autodetection function instead of just displaying messages.
ThomasP.S.: You can find an newer version of QUdev at source forge, but i decided to use this version because it is very easy to use, matches our needs and doesn't need an extra monitoring class which just forwards the monitoring event signal from GUdev base class.
[1] http://github.com/tharp/linux-minidisc [2] http://github.com/jpfeiffer/QUdev