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

Thiago Macieira thiago.macieira at intel.com
Mon Jan 16 18:25:33 CET 2017


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




More information about the Interest mailing list