[Top][All Lists]

[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: Luis Saavedra
Subject: Re: [Mingw-cross-env-list] Problem with Qt pkg-config files in stable branch
Date: Wed, 9 May 2012 23:58:03 -0400

2012/4/19 Mark Brand <address@hidden>

Stefan Löffler wrote:

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


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


Hi Mark,

why this change does not pass to the stable branch?


reply via email to

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