Quote Originally Posted by anda_skoa View Post
Hmm.
You also have
Qt Code:
  1. Q_DECLARE_METATYPE(QList<ChannelEntry*>);
To copy to clipboard, switch view to plain text mode 
have you tried adding
Qt Code:
  1. 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 :

Qt Code:
  1. //Main.cpp
  2. ...
  3. qmlRegisterType<ChannelEntry>("ChannelEntry", 1, 0, "ChannelEntry");
  4. ...
To copy to clipboard, switch view to plain text mode 

The app crashed...