PDA

View Full Version : error C1083: Cannot open include file: 'QGraphicsSvgItem'



Dhananjaya Ramakrishna
30th November 2019, 04:46
I am using Qt5 in Visual Studio 2015 comm. edn. I get this error below when i compile Qt project:

*****************************************
1>------ Rebuild All started: Project: QFITest1, Configuration: Debug Win32 ------
1> Moc'ing qfi_PFD.h...
1> Moc'ing qfitest1.h...
1> Uic'ing qfitest1.ui...
1> Rcc'ing qfitest1.qrc...
1>RCC : warning : No resources in 'D:\Dan\QT\PROJECTS\QFITest1\QFITest1\qfitest1.qrc '.
1>
1> stdafx.cpp
1> moc_qfitest1.cpp
1> moc_qfi_PFD.cpp
1>d:\dan\qt\projects\qfitest1\qfitest1\generatedfile s\debug\../../qfi_PFD.h(54): fatal error C1083: Cannot open include file: 'QGraphicsSvgItem': No such file or directory
1> main.cpp
1> qfitest1.cpp
1>d:\dan\qt\projects\qfitest1\qfitest1\qfi_PFD.h(54) : fatal error C1083: Cannot open include file: 'QGraphicsSvgItem': No such file or directory
1> qfi_PFD.cpp
1>d:\dan\qt\projects\qfitest1\qfitest1\qfi_PFD.h(54) : fatal error C1083: Cannot open include file: 'QGraphicsSvgItem': No such file or directory
1> Generating Code...
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

*****************************************

how to resolve this? Please help.

with Regards,