The forward declaration is removed and replaced with #include <QtCore/qcontainerfwd.h> if not already included.