QNetworkConfigurationManager doesn't work in Symbian^3 with Qt 4.7.1!!
-
I have installed Qt 4.7.1 and Qt Mobility 1.1.0 in my N8.
@
QNetworkConfigurationManager manager;
QList<QNetworkConfiguration> allConfigs = manager.allConfigurations();
@allConfigs is always empty.
I installed Bearer Example that comes with Qt Moblity 1.1.0. But, connection list is blank.
Also tested with C7, and connection list were blank again.
I installed the same example in 5th Edition phones (5800 XP and 5230), and all works as expected.
Where is the problem?
[EDIT: code formatting, please use @-tags, Volker]
-
I have noticed that Bearer Management isn't included in Qt Mobility since Qt 4.7. I have tested the bearer example in a 6710 Navigator with Qt 4.7.1 installed (without Qt Moblity), and works as expected.
So, seems to be a issue of Qt 4.7.1.
Anyone knows something about it? Please, I'm stuck with this issue.
-
I'm currently facing the same problem of no configurations returned. I figured out, that the QtNetwork module moved from QtMobility to Qt in 4.7. Yet in Qt 4.7.1 there is still no Symbian support for bearer management and QtMobility still ships with the old bearer management code. So there are two QNetworkConfigurationManager classes and you probably have to figure out how to force the one of QtMobility.
-
I tried to compile the code with reference to mobility bearer in .pro file, also I tried without it, and the result has been the same that I explained in my firsts posts.
Note that in 6710 Navigator I haven't installed Qt Moblity in device, and it works as expected.
-
Yes, you are right, it is just not working, found the S60 bearer code in Qt 4.7.1 shipped with the 1.1SDK...
-
In case someone else cares about it: http://bugreports.qt.nokia.com/browse/QTBUG-17735 .