Hi, so i have a function that is called readSerial, its a void function in MainWindow, without arguments.

My question is, how can i call the function with QtConcurrentRun.

I tried with an empty main function, using:
QFuture<void> f = QtConcurrent::run(readSerial);

I also tried:
QFuture<void> f = QtConcurrent::run(this,readSerial);

but it doesn't work.
Some help i cant get?