No Documentation available Error : #include "./ui_widget.h"
-
wrote on 12 Apr 2023, 16:50 last edited by Anurag Singh 4 Dec 2023, 16:51
-
How can I resolve it? Can anyone tell?
wrote on 12 Apr 2023, 17:14 last edited by@Anurag-Singh
Clean your project and rebuild from scratch. It should runuic
on your.ui
file to regenerateui_....h
file.Normally that
ui_....h
file should be generated into the build output directory, where the object and executable files go. If you have aui_...h
file lying around in your source directory that could be a problem. -
Lifetime Qt Championwrote on 12 Apr 2023, 18:15 last edited by SGaist 4 Dec 2023, 18:16
Hi and welcome to devnet,
This is a generated file so unless you are building in your sources (wrong thing to do, don't do it) the file is not in the current folder.
Remove the "./" from the include line.
1/3