[Qt-interest] Building app with static external lib on Windows (mingw32)
Malyushytsky, Alex
alex at wai.com
Fri Aug 14 23:16:40 CEST 2009
I never used mingw32 on Windows.
But I would suggest you to make sure that ALL your 3rd party software including QT, QJson and your projects involved are using the same CRT libraries.
At least this would be an issue if using MSVC, because you can't mix different types of CRTs.
I assume they are build with the same compiler, if not this would definitely be a problem.
Regards,
Alex
-----Original Message-----
From: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com] On Behalf Of Jari Bakken
Sent: Friday, August 14, 2009 11:15 AM
To: qt-interest at trolltech.com
Subject: [Qt-interest] Building app with static external lib on Windows (mingw32)
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!
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest
---------------------------------------------------------------------------------------------------
Weidlinger Associates, Inc. made the following annotations.
"This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you."
"Please consider our environment before printing this email."
More information about the Qt-interest-old
mailing list