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

Etienne Sandré-Chardonnal etienne.sandre at m4x.org
Thu Jan 19 10:17:37 CET 2017


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

It also affects latest 5.7 and 5.8

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.

Cheers



2017-01-16 18:25 GMT+01:00 Thiago Macieira <thiago.macieira at intel.com>:

> On segunda-feira, 16 de janeiro de 2017 04:05:28 PST Ernesto wrote:
> > Hello everyone,
> >
> > Now I´m blocked trying to (statically link) compile Qt statically (I´m
> > using Qt 5.5.0) to runs my applications without Qt and others libraries.
> > I did the following:
>
> First of all, please upgrade. You're not using the latest. At the very
> least
> to 5.6.2, but 5.7.1 or 5.8.0 are fine too.
>
> > First I went to /C:\Qt\Qt5.5.0\5.5\mingw492_32\mkspecs\win32-g++\/ and
> > edited /qmake.conf/
> [cut]
> > /configure -platform win32-g++ -static –release/
>
> You don't need to edit the mkspec. The -static option you passed to
> configure
> is enough.
>
> --
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170119/7f88b195/attachment.html>


More information about the Interest mailing list