Forward declarations still output warnings with qt5