2

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.

4

1 に答える 1

0

私のオペレーター SFR (フランス語) は、いくつかの User-Agent からの接続を許可します!

次のようにユーザー エージェントを変更できます。

QNetworkRequest req;
req.setRawHeader("User-Agent", “Mozilla/5.0 (Nokia; Qt; Symbian)");
于 2011-06-09T08:44:44.903 に答える