Port from Qt4 to Qt5

Testes in windows 7 and Linux Mint 14 Nadia(32 bit)

Qt 5.0.1 MingW