No, I can't. I do not work with Qt5 only Qt4.
As you probably noticed it is the solution used in QtCreator. Sources of QtCreator are generally available so look for them.