Add support to build with qt5
Use UTF-8 string for hostname