hmm, i'm using that example with QtMobility, but i'm getting
undefined reference to 'QtMobility::QNetworkConfigurationManager::QNetworkConfigurationManager(QObject*)'
i'm also getting more of these errors from other classes from QMobillity, like
undefined reference to 'QtMobility::QNetworkSession::open()'
'

This is what i have included in the header:
Code:
#include <qmobilityglobal.h>
#include <QtNetwork>
#include <QNetworkSession>
#include <QNetworkConfigurationManager>

QTM_USE_NAMESPACE;

This is from the cpp file:
Code:
QNetworkConfigurationManager manager;
        const bool selectIap = (manager.capabilities()& QNetworkConfigurationManager::CanStartAndStopInterfaces);
        QNetworkConfiguration defaultIap = manager.defaultConfiguration();

        if(!defaultIap.isValid() && (!selectIap && defaultIap.state() != QNetworkConfiguration::Active))
        {
            qDebug() << "Network access point NOT found";

            // let the user know that there is no access point available
            msgBox->setText(tr("Error"));
            msgBox->setInformativeText(tr("No default access point available"));
            msgBox->setStandardButtons(QMessageBox::Ok);
            msgBox->setDefaultButton(QMessageBox::Ok);
            msgBox->topLevelWidget();
            msgBox->exec();
        }
        else
        {
            qDebug() << "Network access point found and chosen";
        }

        session = new QNetworkSession(defaultIap,this);
        session->open();

This is from the project file:
Code:
QT       += core gui\
            network

symbian {
    TARGET.UID3 = 0xe3aa5d43
    TARGET.CAPABILITY += NetworkServices \



    TARGET.EPOCSTACKSIZE = 0x14000
    TARGET.EPOCHEAPSIZE = 0x020000 0x800000

    CONFIG += mobility
    MOBILITY += bearer \

}
Any one got a clue of what could be wrong?
Thanks in advance!