hello,
i have read lot of subject about this but not resolve my problem.

in doc qt it's read var is converting auto in qvariantmap.

i have var javascript
Qt Code:
  1. var ChartScatterData = {
  2. datasets: [ {
  3. name: "courbeTest",
  4. active: true,
  5. color: "rgba(220,220,220,0.5)",
  6. radiusPts:3,
  7. MinAxisx:0,
  8. MaxAxisx:9000,
  9. MinAxisy:10,
  10. MaxAxisy:18,
  11. stepPrimAxisx: 1000,
  12. stepSecAxisx: 100,
  13. stepPrimAxisy :1,
  14. stepSecAxisy:0.1,
  15. // tableau data
  16. data: [
  17. { x: 2000, y: 11 , hovered:false },
  18. { x: 3000, y: 12 , hovered:false},
  19. { x: 4000, y: 13 , hovered:false},
  20. { x: 5000, y: 14.5 , hovered:false}
  21. ]
  22. } ]
  23. }
To copy to clipboard, switch view to plain text mode 


i would like passing this with arg in function Q_INVOKABLE.
i try to add function to arg Qvariantmap and read the attribut in c++.
if is not possible , can you help me?
or how pass this var in c++ in function Q_INVOKABLE?

thank's