[PyQt] RE: One question

Phil Thompson phil at riverbankcomputing.com
Fri Aug 29 19:25:26 BST 2008


On Thu, 28 Aug 2008 03:35:14 -0400, Wu_Ming at emc.com wrote:
> 
> Hi All,
> 
> Any response for this problem. We still have error during make PyQt. We
> are using the followings,
> 
>            MinGW version : MinGW-5.1.4
> 	Sip version : sip-4.7.6
> 	PyQt version : PyQt-commercial-3.17.4
> 	Qt version : 3.3.8
>             Python 2.4.4
> 
>>From the make error,
> 
> /mingw/lib/libmingw32.a(main.o):main.c:(.text+0x104): undefined reference
> to `Wi
> nMain at 16'
> collect2: ld returned 1 exit status
> mingw32-make[1]: *** [qt.pyd] Error 1
> mingw32-make[1]: Leaving directory
> `C:/Development/PyQt-commercial-3.17.4/qt'
> mingw32-make: *** [all] Error 2
> 
> Seems there is no 'main()' or 'WinMain()' is defined under the directory
> PtQt-commercial-3.17.4/qt, whether the main() function is required?
> 
> Please reply me directly, for I am not on the alias. 

Sorry about that, it's a regression in the build system. It should be fixed
in tonight's SIP snapshot.

Phil



More information about the PyQt mailing list