Ok, you do something like that:
Qt Code:
  1. QComboBox *box = new QComboBox(this);
  2. QList<QNetworkInterface> list = QNetworkInterface::allInterfaces();
  3. foreach (QNetworkInterface iface, list)
  4. {
  5. box->addItem(iface.name());
  6. }
To copy to clipboard, switch view to plain text mode 
And then? Which slot is connected to currentIndexChanged()? It's highly probably that the error occurs there. But without any code it's hardly to say. Maybee you could also send the debugger output...