Added support for compiling under QT 4.8