[Qt-interest] Building app with static external lib on Windows (mingw32)

Jari Bakken jari.bakken at gmail.com
Fri Aug 14 20:15:09 CEST 2009


Hi,

I'm trying to build my app with mingw32 on Windows, linking to a
static build of QJson (http://qjson.sourceforge.net).
It always fails with "undefined reference" in the function that uses
the QJson parser.

Here's what I've tried so far:

   http://gist.github.com/167968

The same approach works fine on *nix.

I'm very new to C++ and not at all familiar with dev tools on Windows,
so hopefully it's just a noob error.
Any help would be greatly appreciated!



More information about the Qt-interest-old mailing list