Qt5 port of kprof/qprof