Originally Posted by
anda_skoa
Hmm.
You also have
Q_DECLARE_METATYPE(QList<ChannelEntry*>);
Q_DECLARE_METATYPE(QList<ChannelEntry*>);
To copy to clipboard, switch view to plain text mode
have you tried adding
Q_DECLARE_METATYPE(ChannelEntry*);
Q_DECLARE_METATYPE(ChannelEntry*);
To copy to clipboard, switch view to plain text mode
Cheers,
_
I tried but it doesn't change anything. Even with these two Q_DECLARE_METATYPE commented, it works same way.
But if I comment :
//Main.cpp
...
qmlRegisterType<ChannelEntry>("ChannelEntry", 1, 0, "ChannelEntry");
...
//Main.cpp
...
qmlRegisterType<ChannelEntry>("ChannelEntry", 1, 0, "ChannelEntry");
...
To copy to clipboard, switch view to plain text mode
The app crashed...
Bookmarks