Solved Build error
-
I was trying to add some icons in my project and I imported some of the .qrc files which need some more external header files and .cpp files but due to more and more error I decided to delete those qrc files but now they are giving error in rcc.exe file .
what to do
this is the error
-
I deleted the all the moc files from .pro file and it works.
-
Hi @navya-dubey
I suspect, due to old build folder & moc files this would have happened.
Delete build folder, clean, build and run. -
@yuvaram there is no build folder present shall I delete the build folder because all the moc files are present there only?
-
@navya.dubey
Asked to delete, because you have added .qrc file and deleted, So change of existing old files.
Can you share a sample -
@yuvaram what should I show you?
that folder in which the files are saved?
I am sorry for silly questions I am completely new to QT creator. -
Thank you for providing executed response. Share your code
-
Also show the .pro file.
It might still reference all the QRC files you deleted. -
@mrjj should I delete all the moc file references in my .pro file?
-
@navya.dubey
Look for the mentioned QRC files.
what moc files ? -
I deleted the all the moc files from .pro file and it works.