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