Qt 5 compatibility

Now Cute Chess compiles and runs with Qt 5, at least on Mac OS.