Add method to get encodedQuery independent of Qt version
Make QUrl command compatibale with Qt5