Using Bearer ManagementThe Bearer Management API controls the connectivity state of the system and allows programs to start or stop interfaces or roam transparently between access points. The API was introduced in Qt Mobility 1.0.0 and will become a part of Qt 4.7. Qt Simulator uses Qt 4.7, and therefore, you can use either the Qt 4.7 Network module or the Qt Mobility 1.0.0 Bearer Management module in applications targeting the Qt Simulator. For now we recommend using the Qt Mobility module by adding CONFIG += mobility MOBILITY += bearer to the application pro file. This way, the application will compile for the Qt Simulator as well as current devices. The second way requires at least Qt 4.7 and is thus unavailable on current devices: QT += network [Previous: Testing Applications Using the Qt Mobility Service Framework] [Next: Interacting with Applications] © 2008-2010 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. Privacy Policy X
|