Hey,

I have a library to communicate with sensors and different hardware. This library creates internal thread and allows me to bind receiver function. its non qt lib.

For now I know that new data is generated every 100ms, so I have created QTimer that invokes every 100 ms and "eat" this data. QMutex is protecting both threads. It works, but I don't think that this is correct/best solution.

How can I push data (std::vector<int>) to SLOT of my main window?

Thanks for suggestions.