First of all, thank you for your answers.
Exact, but as anda_skoa said, it's due to simplification (it's a pointer in my real source code) but doesn't work anyway...Should this:
Q_PROPERTY(QList<ChannelEntry> channels READ channels WRITE setChannels NOTIFY channelsChanged)
be
Q_PROPERTY(QList<ChannelEntry *> m_channels READ channels WRITE setChannels NOTIFY channelsChanged)
?
By the way, in the constructor of my OverviewEntry object :
Qt Code:
m_overviewList.append(new OverviewEntry("bar", channels));To copy to clipboard, switch view to plain text mode
my variable channels (QList of ChannelEntry *) contains the right data. And the member m_channels is well filled by the same data.
All is functionnal until it reached the QML part.
Bookmarks