I've been doing some tests with the Nokia QT SDK and I'm having some trouble with the utilization of the QT mobility SDK.
I've used this code:
and I've added this to the .pro file:Code:void MainWindow::on_actionConnect_triggered() { QNetworkConfigurationManager manager; QNetworkSession *session; const bool canStartIAP = (manager.capabilities() & QNetworkConfigurationManager::CanStartAndStopInterfaces); // Is there default access point, use it QNetworkConfiguration cfg = manager.defaultConfiguration(); if (!cfg.isValid() || (!canStartIAP && cfg.state() != QNetworkConfiguration::Active)) { QMessageBox::information(this, tr("Network"), tr( "No Access Point found.")); return; } session = new QNetworkSession(cfg, this); session->open(); session->waitForOpened(-1); }
and the error I get is that the file "QtBearerd.lib" cannot be opened when I try to test it with the simulator.Code:QT += core gui network CONFIG += mobility MOBILITY += systeminfo bearer
Any clues?
Thanks



