Development Group
> Subject: [Development] Circular dependencies for Q_PROPERTY
>
> Hi
>
> I have 2 classes, A and B, derived from QObject, each have a property
> of type pointer-to-other-class. So
>
> class A : public QObject {
> Q_PROPERTY(B *foo …)
> …
> };
&
rjuaho
Sitz der Gesellschaft: Berlin,
Registergericht: Amtsgericht
Charlottenburg, HRB 144331 B
--
Von: Development im Auftrag von Mike Krus
via Development
Gesendet: Montag, 27. April 2020 11:52
An: Qt Development Group
Betreff: [Development] Circular dependencies for
Mike Krus
via Development
Sent: Monday, April 27, 2020 11:52
To: Qt Development Group
Subject: [Development] Circular dependencies for Q_PROPERTY
Hi
I have 2 classes, A and B, derived from QObject, each have a property
of type pointer-to-other-class. So
class A : public QObject {
Q_PROPE
Hi
I have 2 classes, A and B, derived from QObject, each have a property
of type pointer-to-other-class. So
class A : public QObject {
Q_PROPERTY(B *foo …)
…
};
And:
class B : public QObject {
Q_PROPERTY(A *foo …)
…
};
Because of the circular dependency, I can’t #include the full class
definit