Qt 4.7.1 breaks Network on my Nokia N97 mini
I wanted to complain about something: my app worked perfectly with Qt 4.7 and also 4.6.x. When I updated to 4.7.1, the network access no longer works on the phone (but still works on the simulator).
I now wanted to ask why this is. I have a normal PRO file without including Mobility or Bearer config – all I do is add the required capabilities to the Symbian build.
Is it now mandatory to use Mobility for network access in mobile?
It may be a new requirement.
I do know that when you create a new project (Qt or QtQuick) in Qt-Creator 2.1, it now asks if it requires Network Access (if it’s a Symbian app). If so, it adds this define. Otherwise, it still adds the define but commented out in case you need to add it later.
I’m not exactly sure what the define does though. I tried a web browser and it wouldn’t work without it, even though it had the Symbian capability.
So far, I have added the define to no avail. Just that we talk about the same – my .pro currently looks like this:
- TEMPLATE = app
- TARGET = QtNewsRadar
- # Needs to be defined for Symbian
- DEFINES += NETWORKACCESS
- QT += core \
- gui \
- xml \
- HEADERS += QMyApplication.h \
- cryptogate/CGHexapod.h \
- SOURCES += QtNewsRadar_reg.rss \
- FORMS += QtNewsRadar.ui \
- RESOURCES +=
- TARGET.UID3 = 0x2003353F
- TARGET.CAPABILITY = "NetworkServices ReadDeviceData"