[Qt-interest] Help with compiling project in qt
Radiceski, Darko
D.Radiceski at aamhatch.com
Wed Feb 3 22:29:36 CET 2010
Greetings all,
I just installed QT 4.6 and i am trying to compile the examples.
If i create my own qt project that all compiles fine and i can go and
code happily.
But if i try and compile the examples i get this:
c:/qt/2010.01/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../libmingw32.a(m
ain.o):main.c::-1: error: undefined reference to `WinMain at 16'
:-1: error: collect2: ld returned 1 exit status
Can someone please help?
I found a post that i need to edit my PATH variable and put all QT\bin
and QT\mingw\bin in the PATH before any variable without spaces. I did
that but no luck
Cheers
Dan
Darko Radiceski
AAMHatch
Analyst Programmer GIS
Phone: +61 2 4254 6616
Mobile: +61 4 16 090 572
Fax: +61 2 4254 6699
Mailto: d.radiceski at aamhatch.com
<mailto:d.radiceski at aamhatch.com>
Website: www.aamhatch.com <http://www.aamhatch.com/>
Attention
Email Disclaimer Notice - This message is the property of AAMHatch. The information in this email is confidential and may be legally privileged.
It is intended solely for the
addressee. Access to this email by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful.
If you have received this message in error please notify AAMHatch immediately via email to mailadmin at aamhatch.com <mailto:mailadmin at aamhatch.com>
This email has been scanned and cleared by NetIQ Mail Marshal, however AAMHatch does not guarantee this message free of viruses, or interference.
________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100204/ff78abdc/attachment.html
More information about the Qt-interest-old
mailing list