I don't understand.

I use the normal QTreeWidgetItem and it works.

Qt Code:
  1. itemTree[num] = new QTreeWidgetItem(ui->treeWidget);
  2. itemTree[num]->setText(0,Tag[num]->nome);
  3. num++;
To copy to clipboard, switch view to plain text mode 

Use vector will be a problem.
I want use as a pointer and create indefinitely to fill a table.