Unsolved Remove some headers file using HEADERS -= does not work
-
Hi. Is it possible to remove some headers file using HEADERS -= in the .pro file. Just like SOURCES -=. I tried it and the file I put in the list of HEADERS -= are not removed from the compilation.
-
@Furotte said in Remove some headers file using HEADERS -= does not work:
I tried it and the file I put in the list of HEADERS -= are not removed from the compilation.
What do you expect from that? Header files are never compiled...
-
I'd rather like to remove a specific header file from the Qt project, but I get an error message saying "cannot delete the file from project. I don't want to delete the file permanently, only from the project. Why this file cannot be removed from the Qt project ?
-
@Furotte can you show your .pro file?
Which header do you want to remove?