[Interest] Incorrect include paths in linux webkit build of QT5?
Thiago Macieira
thiago.macieira at intel.com
Wed Jan 6 18:57:42 CET 2016
On Wednesday 06 January 2016 11:55:16 olivier barthelemy wrote:
> OK, i think it is because those includes are supposed to be paths relative
> to the cpp files.
> But they are included with <> and not "", so there is -I. on the command
> line to add the current directory to the search path.
> HOWEVER sources are compiled as "gcc /path/to/file.cpp -I." So the -I. adds
> the curent directoryto the search path, and not the folder of the cpp file.
> Any idea for a better trick than fixing all the includes one by one?
GCC searches the directory of the source with both <> and "". Therefore, it
compiles.
What compiler are you using?
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest
mailing list