Originally Posted by
wysota
Guys, this issue is related to Qt3, not Qt4...
Qt3, someone is still working with Qt3, my brain substitutes 4.3 (and with "Version: 3.4.1" that can happen). Ok, then:
QListView has no << operator, you have to set up the column count and add QListViewItems. Something like that:
table->addColumn( "Names" );
new QListViewItem( table, "maider" ); // in your case loop your array...
new QListViewItem( table, "Peter" );
new QListViewItem( table, "maider" );
QListView *table;
table->addColumn( "Names" );
new QListViewItem( table, "maider" ); // in your case loop your array...
new QListViewItem( table, "Peter" );
new QListViewItem( table, "maider" );
To copy to clipboard, switch view to plain text mode
Bookmarks