|Subject:||Re: [Mingw-cross-env-list] Problem with Qt pkg-config files in stable branch|
|Date:||Wed, 9 May 2012 23:58:03 -0400|
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 theYes, this seems to be a problem with the new Qt 4.8.1.
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.
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.
|[Prev in Thread]||Current Thread||[Next in Thread]|