qt-solutions Didn't find working source code for current Qt versions. So, I did this update on my own. It works as far as I've used it in my sample project. Enjoy!