[Development] Building Qt5 on windows

Алексей Павлов alexpux at gmail.com
Fri Sep 14 11:04:47 CEST 2012


If I remember correctly that the environment variables LIB and INCLUDE
parses Qt configure program (see
qtbase/tools/configure/cofigureapp.cpp)

2012/9/14  <kai.koehne at nokia.com>:
>>> From: development-bounces+kai.koehne=nokia.com at qt-project.org [development-bounces+kai.koehne=nokia.com at qt-project.org] on behalf of ext Jonathan Liu [net147 at gmail.com]
>>
>> GCC uses CPATH with paths separated by colons instead of INCLUDE.
>> GCC uses LIBRARY_PATH with paths separated by colons instead of LIB.
>>
>>INCLUDE and LIB are used by Microsoft Visual C++ Compiler not GCC.
>
> Hi Jonathan,
>
> I'm not sure about the exact relationship between CPATH/INCLUDE and LIBRARY_PATH/LIB, but what I know is that gcc does care about INCLUDE and LIB. I managed to run mingw32-make one or two times in an environment with INCLUDE and LIB set to MSVC, and the result was that gcc picked up the wrong headers ...
>
> Regards,
>
> Kai
>
>
>
>



More information about the Development mailing list