mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] Problem with Qt pkg-config files in stable br


From: Mark Brand
Subject: Re: [Mingw-cross-env-list] Problem with Qt pkg-config files in stable branch
Date: Thu, 19 Apr 2012 15:20:32 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120312 Firefox/11.0 SeaMonkey/2.8


Stefan Löffler wrote:
Hi,

On 2012-04-19 10:43, Martin Lambers wrote:
I recently updated from the 2.22 release candidate version (hg) to the
current stable branch (git), and ran into a problem with the pkg-config
files installed by Qt.

The pkg-config files contains library names like  '-lQtOpenGL4',
'-lQtGui4', and '-lQtCore4', but the installed libraries do not have
the '4' appended, therefore the linker cannot find them.
Yes, this seems to be a problem with the new Qt 4.8.1.
See also https://github.com/mxe/mxe/issues/18 and
https://github.com/mxe/mxe/pull/19 for a proposed workaround.

Basically, it should be sufficient to `cd
usr/i686-pc-mingw32/lib/pkgconfig/` and run
sed -E -i -e 's/^Libs:(.+)4(.*)/Libs:\1\2/' Qt*.pc qtmain.pc

Hi,

Thanks for pointing this out. Just fixed it with commit 44eaf2c625df0701a126aaa6bde2152b8ca0d296.

Mark





reply via email to

[Prev in Thread] Current Thread [Next in Thread]