rmagro
24th March 2009, 16:48
Hi guys,
I can't get the service "QDesktopServices::openUrl" always work (in every Pcs..)
I basically use the following code:
QString mY_url = QString("https://.....");
QUrl urlEncoded = QUrl::fromEncoded(mY_url.toAscii());
QUrl url(urlEncoded.toString());
bool isURLopened = QDesktopServices::openUrl ( url );
Sometimes "isURLopened" is 0 and the page is not open..
I would like to ask you if there is something wrong with the code above..
and what I can try to solve the problem.
many Thanks
Roby
PS:
to be precise mY_url is:
https://sis-bankpass.ssb.it/bankpass/master/main?PAGE=MASTER&NUMORD=99-0000100073&IDNEGOZIO=010250629350001&IMPORTO=1900&VALUTA=978&TCONTAB=I&TAUTOR=I&OPTIONS=A&URLBACK=https%3A%2F%2Fwww.firma.infocert.it%2Futen ti%2FPagamentoKO.htm&URLDONE=https%3A%2F%2Fwww.firma.infocert.it%2Futen ti%2FPagamentoOK.htm%3Femail%3Dsegreteria%40pc-servizi.com&URLMS=http%3A%2F%2Febusiness.infocert.it%2Fnemo%2F sale%2FregistraBPW.do&MAC=b85ee08c22771fad3fd54cbb654d17e7c1b18fe2&EMAILESERC=shopsanpaolo%40infocert.it&EMAIL=segreteria%40pc-servizi.com
I can't get the service "QDesktopServices::openUrl" always work (in every Pcs..)
I basically use the following code:
QString mY_url = QString("https://.....");
QUrl urlEncoded = QUrl::fromEncoded(mY_url.toAscii());
QUrl url(urlEncoded.toString());
bool isURLopened = QDesktopServices::openUrl ( url );
Sometimes "isURLopened" is 0 and the page is not open..
I would like to ask you if there is something wrong with the code above..
and what I can try to solve the problem.
many Thanks
Roby
PS:
to be precise mY_url is:
https://sis-bankpass.ssb.it/bankpass/master/main?PAGE=MASTER&NUMORD=99-0000100073&IDNEGOZIO=010250629350001&IMPORTO=1900&VALUTA=978&TCONTAB=I&TAUTOR=I&OPTIONS=A&URLBACK=https%3A%2F%2Fwww.firma.infocert.it%2Futen ti%2FPagamentoKO.htm&URLDONE=https%3A%2F%2Fwww.firma.infocert.it%2Futen ti%2FPagamentoOK.htm%3Femail%3Dsegreteria%40pc-servizi.com&URLMS=http%3A%2F%2Febusiness.infocert.it%2Fnemo%2F sale%2FregistraBPW.do&MAC=b85ee08c22771fad3fd54cbb654d17e7c1b18fe2&EMAILESERC=shopsanpaolo%40infocert.it&EMAIL=segreteria%40pc-servizi.com