Yes, it work's, but in the QML can't put model., it gives error.

It must be:

Qt Code:
  1. model: cars
To copy to clipboard, switch view to plain text mode 

Cheers