c++ - Keep getting Protocol "" is unknown error in Qt -


qurl downloadurl = qurl::fromencoded(downloadurlstr.toascii());  qdebug() << downloadurl.tostring();  qnetworkrequest req(downloadurl); req.setattribute(qnetworkrequest::user, id); qnetworkreply *finalreply = nam->get(req); connect(finalreply, signal(finished()), this, slot(datafetchfinished())); 

i have above code in qt 4.8.4 application, in datafetchfinished() slot keep detecting error: protocol "" unknown

the debug output is: "http://192.168.1.1/servlet/com.roving.report.view.excel.excelreportservlet?file=661&columns=0&srctype=definebean&width=0&height=0&reportparamsid=100583&cachedid=662&t_i_m_e=1376086878417&pagestyle=0"

any appreciated!


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -