Hi,

I have also found the same problem (yesterday). You can try to do the
following (worked for me)

Add the following to your pro/pri file:
CONFIG += dll

Hope that helps,
Regards,
Carel

On Thu, Nov 8, 2012 at 3:23 PM, andy fillebrown
<andy.fillebr...@gmail.com>wrote:

> Hi,
>
> I'm getting undefined references to WinMain@16 when building my
> libraries with Qt 4.8.3 using the provided MinGW 4.4.0 toolchain.  I
> did some searching but all I could find was QTBUG-27227, which isn't
> very helpful since I don't want to build in the source tree.  I don't
> mind hacking on the mkspecs if that's the issue, but I can't find any
> info on how to fix this issue locally.  Is it a qmake issue?  How can
> I fix it?
>
> Cheers,
> ~ andy.f
> _______________________________________________
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to