[Interest] QNetworkConfigurationManager() Class in Android and iOS devices

Cezar Menezes cezar at hxgt.com.br
Thu Jan 2 20:37:04 CET 2014


Hello again, everyone. 

Ok, that's the solution : do not forget to include the following "magic" statement in the .PRO file :

QTPLUGIN += qgenericbearer

Best Regards,

Cezar.

----- Original Message -----
From: "Cezar Menezes" <cezar at hxgt.com.br>
To: interest at qt-project.org
Sent: Thursday, January 2, 2014 10:51:50 AM
Subject: [Interest] QNetworkConfigurationManager() Class in Android and iOS	devices

Hello, everyone. 

I'm trying to instantiate the class "QNetworkConfigurationManager()" for accessing the method "QNetworkConfigurationManager::isOnline()" , which is supposed to return the network connection state (online/offline) of a device.

It works nicely on Android devices, but fails on iOS devices.

It seems that this class is not fully implemented for iOS, unless I'm missing some important pre-configuration prior to instantiating it.

If anyone has succeeded while using this class with iOS, please let me know.

Happy new year for all.

Cezar.

bool QNetworkConfigurationManager::isOnline() 
_______________________________________________
Interest mailing list
Interest at qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest



More information about the Interest mailing list