Quote Originally Posted by Computer Hater View Post
@wysota:
No, in both projects all the used files appear in the project file and all header files appear in the header variable. Actually, I used Qt Creator and they were added automatically.
A respective file has to be referenced in the actual code for make (or actually probably gcc) to treat the referenced file as a dependency of the file containing the reference to the other file.