Convert to Qt5.
Use current c++ complier with CUDA 6
Fix Qt5 compiler error