I'm using OpenGl in QTCreator.
I'm having difficulty linking my tree widget (in the UI) and the associated header/cpp files. I'm pretty sure my header declaration is correct. Is there anything special I need to do to perform the linking?
The tree widget has already been promoted to myTree
#ifndef MYTREE_H
#define MYTREE_H
#include <QTreeWidget>
class myTree: public QTreeWidget {
Q_OBJECT
public:
myTree(QWidget*);
myTree();
~myTree();
public slots:
void receiveroot(QTreeWidgetItem*);
};
#endif