Make a working sample!

Switch to Qt4