[Interest] I can´t compile Qt statically (statically link)

Konstantin Tokarev annulen at yandex.ru
Fri Jan 20 09:58:46 CET 2017



20.01.2017, 11:53, "Etienne Sandré-Chardonnal" <etienne.sandre at m4x.org>:
> What do you mean by static "system" libpng? There is dll or static libpng but on Windows there is no such thing as a "system" lib.

"System" means not using bundled copy

>
> And linking libpng statically is somewhat common...
>
> 2017-01-20 3:11 GMT+01:00 Thiago Macieira <thiago.macieira at intel.com>:
>> On quinta-feira, 19 de janeiro de 2017 10:17:37 PST Etienne Sandré-Chardonnal
>> wrote:
>>> Hi,
>>>
>>> 5.6.2 is not necessarily the best 5.6 option regarding compiling Qt. There
>>> is at least a regression between 5.6.1 and 5.6.2 which prevents me building
>>> a static Qt with system libpng.
>>>
>>> https://bugreports.qt.io/browse/QTBUG-57148
>>
>> The problem is not a static Qt, but the static libpng. We never test that, so
>> if you want to see that fixed, you'll need to supply the fix yourself.
>>
>> I can also confidently say you're the first person I've ever seen trying to use
>> a static system libpng. Not to mention doing that on Windows.
>>
>>> I'm currently stuck with 5.6.1 as this is the latest version which compiles
>>> under windows with system libpng. Latest release do not mean less
>>> compilation issues.
>>
>> Indeed, but Ernesto may not have your problem.
>> --
>> Thiago Macieira - thiago.macieira (AT) intel.com
>>   Software Architect - Intel Open Source Technology Center
>>
>> _______________________________________________
>> Interest mailing list
>> Interest at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/interest
> ,
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest


-- 
Regards,
Konstantin



More information about the Interest mailing list