On Jan 12, 2015, at 7:38 AM, René J.V. Bertin wrote:
> 
> On Monday January 12 2015 13:59:14 René J.V. Bertin wrote:
> 
>> I do have Qt5.3.2 installed configured with the same install locations, and 
>> indeed it would seem that at least the 1st error is due to the installed 
>> header being included instead of one from the build tree.
>> 
>> Regarding that particular error: can it be avoided at all, would it require 
>> doing an in-tree build, or is it simply impossible to build Qt5.4 in order 
>> to replace Qt5.3 with the latter in place?
> 
> Concerning the error show at  https://paste.kde.org/p2vtxcfcs , it turns out 
> that it indeed went away after I moved aside /opt/local/include/qt5 . That is 
> the place the headers should go after installation, NOT where they should be 
> looked for during the build. In other words, `configure -headerdir foo` 
> should NOT, IMHO, add `-Ifoo` to the compiler/preprocessor options!
> 
> Can that be considered a bug? Can I safely do a search and remove of 
> -I/opt/local/include/qt5 in the generated makefiles (or wherever that option 
> is stored) before starting the build?

Yes, incorrect -I flags would be a bug that you should report to the 
developers. I don't know this build system so I don't know if the change you 
propose is the correct fix.

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to