[Qt-interest] Configure hangs on Windows when building Qt 4.6 when adding -openssl-linked

Gordon Schumacher gordon at rebit.com
Sun Nov 22 17:19:33 CET 2009


Garth Dahlstrom wrote:
> On 2009-11-12, at 9:07 AM, Zeljko <zeljko at holobit.net> wrote:
>
>   
>> Garth Dahlstrom wrote:
>>
>>     
>>> windowsmobile -debug-and-release -openssl-linked -I "E:\OpenSSL
>>> \include" -L "E:\OpenSSL\lib\MinGW"
>>>       
>> what about (path delimiter change),
>> windowsmobile -debug-and-release -openssl-linked -I "E:/OpenSSL
>> /include" -L "E:/OpenSSL/lib/MinGW"
>>     
>
> Tried it with slashes in both directions, it even hangs if I delete  
> the -I & -L args and just have "-openssl-linked"...   I've tried this  
> on 3 Windows XP VMs result are the same on each.   Longest I left it  
> running was about 6 hours.
>
> It is definitely something to do with "-openssl-linked" specifically  
> causing configure.exe to hang.
>
> I also tried " -openssl-linked OPENSSL_LIBS='-lssleay32 -llibeay32' "  
> but configure.exe spits out the help page telling me that is not a  
> correct syntax.
>   

And it's right - those are qmake vars, not configure options.  In order
to do it that way (and that is what I am doing, for my typical reason of
doing some unusually complexicated stuff) you need to pass the
"-no-qmake" option to configure, and when it completes issue something like:

bin\qmake -r projects.pro OPENSSL_LIBS="-lssleay32 -llibeay32"



More information about the Qt-interest-old mailing list