libmygpo-qt: some adjustments to deal with qt5