Remove some headers file using HEADERS -= does not work
-
wrote on 22 Jun 2019, 19:06 last edited by
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.
-
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...
-
wrote on 23 Jun 2019, 01:01 last edited by
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 ?
-
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?
1/4