Don't really know what happended there, but it did work.
There is no magic to it. Some Qt classes only forward declare the classes they use internally. If you use them in your code, you need to include them on your side.
Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.