I had to compile x2goclient from sources, because the offical package for Ubuntu does not work with qt5 from the Ubuntu distribution. This patch helped me to compile it from sources.