Quote Originally Posted by Arthur
Well, this is exactly nothing more than a simple project containing the widget layout where the problem occurs. If I just put a treeview on a form, it will probably work...
There is no layout there. Try resizing the window. The form (and other widgets too) is completely unnecessary, it would be better if there was only the treewidget there:

Qt Code:
  1. #include <QApplication>
  2. #include <QTreeWidget>
  3. #include <QStringList>
  4.  
  5. int main(int argc, char **argv){
  6. QApplication app(argc, argv);
  7. // ... some lines here, like:
  8. tw.insertTopLevelItem(0,
  9. new QTreeWidgetItem( QStringList() << "col1" << "col2" )
  10. );
  11. tw.show();
  12. return app.exec();
  13. }
To copy to clipboard, switch view to plain text mode 

That's a minimal compilable example