after upgrading to qt-5.9.4 i get this errors when trying to compile qt-creator imageviewerfile.cpp:109:54: error: invalid use of incomplete type ‘class QGraphicsSvgItem’ m_tempSvgItem = new QGraphicsSvgItem(fileName); ^ In file included from imageviewerfile.cpp:27:0: imageviewerfile.h:37:7: note: forward declaration of ‘class QGraphicsSvgItem’ class QGraphicsSvgItem; ^~~~~~~~~~~~~~~~ imageviewerfile.cpp:110:37: error: invalid use of incomplete type ‘class QGraphicsSvgItem’ QRectF bound = m_tempSvgItem->boundingRect();
*** This bug has been marked as a duplicate of bug 646504 ***