QUrl has been completely reworked for qt5.  look into QUrlQuery