The Makefile that is along the .pro file is not updated when existing files are added to the project.
Another issue is that the cleaning (all or not) does not remove all the symbian build generated files.
Am I missing something?
The Makefile that is along the .pro file is not updated when existing files are added to the project.
Another issue is that the cleaning (all or not) does not remove all the symbian build generated files.
Am I missing something?
When you add existing file, you have to build the project again.
Do Clean all OR Close Project options for removing of all symbian build generated.
Hi Rahul,
These 2 options do not delete the following generated files :
Makefile
bld.inf
project.loc
project.rss
project_reg.rss
Makefile_0xedd41e70.mk
project_0xedd41e70.mmp
project_installer.pkg
project_template.pkg
So the only solution I found is delete these files with a batch script.
An another solution is to menu Build>Run Qmake since the IDE does not automatically trigger qmake when adding/removing files to/from the project.
Even if source files are modified and dependencies are changed between files won't be taken in account before qmake is run.
Sometimes the development platform recognizes that new files have been added and updates the pro and runs qmake, other times not. You should always double-check these things. (Another thing to beware of is changing files incorporated into a resource file. You generally need to "touch" the resource file or delete the generated cpp part to force regeneration of the resource cpp.)
To remove all generated files from the build you need to do "abld reallyclean" under Carbide. Not sure if the same command works for the Qt SDK.
Qt Creator is calling
"C:/NokiaQtSDK/Symbian/SDK/epoc32/tools/make.exe" clean -w
and this is calling
"ABLD.BAT reallyclean"
but yes there are still some files.
You can overwrite the "Clean Steps" "Make arguments" with "distclean" instead of clean.
Last edited by TimsonC2000; 2010-08-17 at 15:14. Reason: I remembered the solution