playing nice with QtCreator
Now with a working example..