Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.11
-
None
-
Qt dev - 16e15410e674fff693b28c1c9ca96f77bb3b6460
gcc version 7.2.1 20171224
-
82cf2489e2cdf2139914580e95c37d91be520716
Description
Building dev I found the following problem (https://pastebin.com/q7xK8EQT)
> make[3]: Entering directory '/home/crmaurei/dev/qtdev-install/qttools/src/qdoc'
> .....
> fatal error: stdlib.h: No such file or directory
The problem seems to be that the argument of the `-isystem` parameter is `/usr/include` and then, is included after all the other paths.
A simple fix would be to replace it by a `-I`, but maybe is worth to look at:
qttools/mkspecs/features/qt_find_clang.prf since the responsible variable is CLANG_INCLUDEPATH in `qttools/src/qdoc/qdoc.pro`
Official gcc bug report: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129
(won't be fixed, because it depends on the user proper configuration)