undefined reference to 'vable for PictureCmboBox'
C++ (Qt)class PictComboBox : public QComboBox{public : PictComboBox(QWidget* parent) : QComboBox(parent) { }}
comboBox->addItem(QIcon(":/icons/mark1.png"), QString());comboBox->addItem(QIcon(":/icons/mark2.png"), QString());comboBox->addItem(QIcon(":/icons/mark3.png"), QString());
QListView *view = qobject_cast<QListView *>(comboBox->view());if (view){ view->setFlow(QListView::LeftToRight); view->setWrapping(true); view->setResizeMode(QListView::Adjust);}