Qt5 compilation

The compilation under Windows should work ok with this PR for Qt 5.2.1
The compilation under Linux still requires the command "cmake CMakeLists.txt" and does not use a separate folder for copilation.