Repeatedly calling QTimer::singleShot from worker thread to trigger a slot in main thread seems to cause the application memory consumption to slowly climb. The only time when memory consumption would go down temporarily (although still trending up) is when the application window is activated. If the application window remains in the background the memory consumption will not go down.
Steps to reproduce the problem:
- Run the attached example
- Keep the app window minimized or in the background