Infrastructure for qt based gui