Message 1 of 3
Maya Qt Link Error with QMetaObject
Not applicable
10-28-2016
05:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
When i try to follow the example code of HelixQtCmd.cpp / .h
class HelixButton : public QPushButton
{
Q_OBJECT
public:
HelixButton(const QString& text, QWidget* parent = 0);
virtual ~HelixButton();
public slots:
void createHelix(bool checked);
private:
float fOffset;
};
-- the Q_OBJECT macro -- results in a link error with QMetaObject
Anyone know why?