Qt Code:
  1. class whatever: public QObject
  2. {
  3. Q_OBJECT
  4. public:
  5. explicit generalUnitConverter(QObject *parent = nullptr);
  6.  
  7. QList<QPair<double, QString>> do_something();
  8. }
To copy to clipboard, switch view to plain text mode 

How could I access the data return by do_something in qml?