PDA

View Full Version : QNetworkInterface::allInterfaces() crashing on Windows 64 systems



papillon
9th October 2011, 15:08
This issue seems to be present since qt4.5. Calling: QList<QNetworkInterface> interfaces = QNetworkInterface::allInterfaces(); results in a crash on Windows 64bit systems.

Any chance to fix this somehow?

ChrisW67
10th October 2011, 02:34
Are you running a 32-bit executable and libs or 64-bit on your 64-bit machine? Which compiler? Can you post a minimal, complete example that reproduces the crash?

papillon
12th October 2011, 21:58
Sorry for not giving more details. I'm running a 64bit executable on Windows7 64bit, compiled with VC++ 2008.

I just need to call the following one and only line of code to get a crash:

QList<QNetworkInterface> interfaces = QNetworkInterface::allInterfaces();

I will post the debug window tomorrow as I get my hands on the studio computer...