dr.silly
September 15th, 2009, 10:03 PM
my program roughly looks like this:
class Item
{
Q_OBJECT
public:
List parent;
};
class List
{
Q_OBJECT
public:
QList<Item> list;
};
The problem is no matter which class is compiled first it will require the other class which wasn't compiled.
What's the way around this?
class Item
{
Q_OBJECT
public:
List parent;
};
class List
{
Q_OBJECT
public:
QList<Item> list;
};
The problem is no matter which class is compiled first it will require the other class which wasn't compiled.
What's the way around this?