a lot of .cc files in src/core and src/gui include gui/Preferences.h .. which is getting found as i added
${workspaceFolder}/gui/**
to the include list for the repo.
but .. Visual Studio Code is complaining that P.h is including another file called ui_Preferences.h .. which it is not finding. There is however a file named Preferences.ui .. is there supposed to be a shell script or a macro run to change the name to be correct so the code can find its headers?
OR
should i correct the #include statements to use the correct (if it is correct?) filename
On 27.09.25 20:42, vulcan_--- via Discuss wrote:
but .. Visual Studio Code is complaining that P.h is including another
file called ui_Preferences.h .. which it is not finding.
Those are generated via MOC https://doc.qt.io/qt-6/moc.html from the
*.ui files. So you have to build the project and they will show up
somewhere in the build output folder.
Did you install the cmake support plugin? I would assume that will
handle this automatically.
ciao,
Torsten.
i thought it would be something like that
I am working on code checked out from my bug fixing branch, which i have not compiled so there are no ui_* files
I only want them so that there are no warnings in VSC as i work on things - if am able to get the app to build on Windows this problem will go away