I found something similar at http://qt-project.org/forums/viewthread/3306 where the poster used a custom subclass from QFileSystemModel and managed to get QModelIndex exposed to QML.

I can't make heads or tails of the solution since my C++ is really rusty and I haven't used subclasses from Qt classes before Any documentation on doing this with Qt?