qtsymbianqnetworkaccessmanagerqt-mobilityqt-quick

QT 4.7.4 QNetwork on symbian using 3g


is it possible to use QNetworkRequest on symbian to make a HTTP request via 3G ? I've a code that work on simulator, but when i put it in device, the device try to connect via wifi.

i've try to add this on my pro file :

QT += network

symbian {
TARGET.CAPABILITY = NetworkServices
}

CONFIG += mobility
MOBILITY = bearer

But it's still not working...i'm using 4.7.4. Thanks for your help.


Solution

  • My operator SFR (french) allow the connexion from some User-Agent !

    You can change the user agent like this :

    QNetworkRequest req;
    req.setRawHeader("User-Agent", “Mozilla/5.0 (Nokia; Qt; Symbian)");