|
|
2012-08-18
, 16:56
|
|
Posts: 1,313 |
Thanked: 2,976 times |
Joined on Jun 2011
@ Finland
|
#2
|
|
|
2012-08-18
, 16:59
|
|
Posts: 3,328 |
Thanked: 4,475 times |
Joined on May 2011
@ Poland
|
#3
|
Maybe this will help you:
http://talk.maemo.org/showpost.php?p...37&postcount=2
I removed the QNetworkSession stuff as it didn't detect libcurl want data from network.
|
|
2012-08-19
, 18:15
|
|
Posts: 3,328 |
Thanked: 4,475 times |
Joined on May 2011
@ Poland
|
#4
|
I make an app for Fremantle and Harmattan, but there's a problem when running on Harmattan.
This code run properly on Fremantle, but on Harmattan doesn't.
QNetworkConfigurationManager manager; QNetworkConfiguration cfg = manager.defaultConfiguration(); if (manager.isOnline() == false) return static_cast<CURLcode>(-2);(run when no internet, enabled internet, run with internet accessible)
This is returned that way even when I can browse the net with the built-in browser.
After restarting the application with internet connection on, the function runs properly. But why is QNetworkConfigurationManager malfunctioning?
Thanks in advance
If you want to support my work, you can donate by PayPal or Flattr
Projects no longer actively developed: here