Not quite, it says:
I guess the problem is that the code generated by moc doesn't include that other header file.Ideally, this macro should be placed below the declaration of the class or struct. If that is not possible, it can be put in a private header file which has to be included every time that type is used in a QVariant.
Bookmarks