Hi,
I'm trying this code

Qt Code:
  1. QList<QNetworkInterface> qLlistaInterfaces = QNetworkInterface::allInterfaces();
  2. qLlistaInterfaces.clear();
To copy to clipboard, switch view to plain text mode 

When I call "clear" the program crash. I call "clear" because my program crashes when exitting the function that is calling "allInterfaces" and I found that the problem is in clearing the list.

I'm doing something wrong?

Thanks,