exclude specific files from using precompiled header with qmake
Unsolved
General and Desktop
-
wrote on 2 Dec 2015, 17:43 last edited by
To resolve include conflicts, I need to do this. Is this somehow possible?
-
wrote on 2 Dec 2015, 19:23 last edited by
Can't you do that in the .pro file?
-
wrote on 3 Dec 2015, 18:01 last edited by
@Leonardo
I'd be completely fine with that however I don't know how. The Qt docs don't state anything about this. -
wrote on 4 Dec 2015, 10:59 last edited by
You should give more details about what you want to do.
-
wrote on 5 Dec 2015, 22:44 last edited by
I want to incorporate precompiled headers into my project but I'm getting include conflicts in some of the cpp files (i.e. between QtOpenGL and glew.h). The easiest option appears to be disabling the use of the pch in these cpp files which can easily be done from within visual studio, it's just a compiler flag.
This I'd like to do from within qmake so that I don't need to do it manually every time I rebuilt the solution. -
wrote on 6 Dec 2015, 01:30 last edited by
Could you show your .pro file?
1/6