Several places were using QDataStream without including the proper headers. These fixes are not enough: the ports needs to explicitly depend on more Qt components, but we are still working on that and may end up creating a new, smaller port out of devel/qt5-designer.