does FIND_PACKAGE need a 3 or not?
in QDialog, setExtension and setOrientation are deprecated; no idea what they were supposed to do, but the dialog seems to show up correctly even withtout it
replace __builtin__ with builtins