I had the same problem with the same configuration. I got around this
one by removing qinterlacestyle from sip and regenerating the source
and I got it to build, however the resulting .pyd doesn't work. I
haven't had time to figure out why.
BTW, here is the error I get when running a sample PyQt app:
C:\PyQt-2.4\examples>python aclock.py
Traceback (most recent call last):
File "aclock.py", Line 56, in ?
a = QApplication(sys.argv)
File "c:\python21\lib\qt.py", line 125, in __init__
libqtc.sipCallCtor(202,self,args)
TypeError: Argument 1 of QActionGroup() has an invalide type
>
> I am having trouble compiling PYQt on windows.
> I am using Qt 2.3.0, Msvc++ 6.0 and PyQt 2.4
>
> Here follow the compiler error, does anyone have any idea ?
> Thanks in advance.
>
> regards,
>
> Philippe
>
> nb: I'm not subscribed, so please cc me any reply
>
>
> ---------------
>
> //d/software/PyQt-2.4/qt > nmake -f Makefile.win32-msvc
>
> Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
> Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
>
> link /NOLOGO /SUBSYSTEM:windows /DLL /OUT:libqtc.pyd
> @C:\WINNT\TEMP\nma0
> 0804.
> Creating library libqtc.lib and object libqtc.exp
> sipqtQInterlaceStyle.obj : error LNK2001: unresolved external symbol
> "public: __
> thiscall QInterlaceStyle::QInterlaceStyle(void)"
> (??0QInterlaceStyle@@QAE@XZ)
> sipqtQInterlaceStyle.obj : error LNK2001: unresolved external symbol
> "public: vi
> rtual void __thiscall QInterlaceStyle::drawSplitter(class QPainter
> *,int,int,int
> ,int,class QColorGroup const &,enum Qt::Orientation)"
> (?drawSplitter@QInterlaceS
> tyle@@UAEXPAVQPainter@@HHHHABVQColorGroup@@W4Orientation@Qt@@@Z)
> sipqtQInterlaceStyle.obj : error LNK2001: unresolved external symbol
> "public: vi
> rtual int __thiscall QInterlaceStyle::splitterWidth(void)const "
> (?splitterWidth
> @QInterlaceStyle@@UBEHXZ)
> sipqtQInterlaceStyle.obj : error LNK2001: unresolved external symbol
> "public: vi
> rtual void __thiscall QInterlaceStyle::drawSliderGrooveMask(class
QPainter
> *,int
> ,int,int,int,int,enum Qt::Orientation)"
>
(?drawSliderGrooveMask@QInterlaceStyle@@UAEXPAVQPainter@@
HHHHHW4Orientation@
> Qt@@@Z)
> sipqtQInterlaceStyle.obj : error LNK2001: unresolved external symbol
> "public: vi
> rtual void __thiscall QInterlaceStyle::drawSliderGroove(class
QPainter
> *,int,int
> ,int,int,class QColorGroup const &,int,enum Qt::Orientation)"
> (?drawSliderGroove
>
@QInterlaceStyle@@UAEXPAVQPainter@@HHHHABVQColorGroup@@HW4Orientation@
Qt@@@Z
> )
> sipqtQInterlaceStyle.obj : error LNK2001: unresolved external symbol
> "public: vi
> rtual void __thiscall QInterlaceStyle::drawSliderMask(class QPainter
> *,int,int,i
> nt,int,enum Qt::Orientation,bool,bool)"
> (?drawSliderMask@QInterlaceStyle@@UAEXPA
> VQPainter@@HHHHW4Orientation@Qt@@_N2@Z)
> sipqtQInterlaceStyle.obj : error LNK2001: unresolved external symbol
> "public: vi
> rtual void __thiscall QInterlaceStyle::drawSlider(class QPainter
> *,int,int,int,i
> nt,class QColorGroup const &,enum Qt::Orientation,bool,bool)"
> (?drawSlider@QInte
>
rlaceStyle@@UAEXPAVQPainter@@HHHHABVQColorGroup@@W4Orientation@Qt@@_
N3@Z)
> sipqtQInterlaceStyle.obj : error LNK2001: unresolved external symbol
> "public: vi
> rtual void __thiscall QInterlaceStyle::drawScrollBarControls(class
QPainter
> *,cl
> ass QScrollBar const *,int,unsigned int,unsigned int)"
> (?drawScrollBarControls@Q
> InterlaceStyle@@UAEXPAVQPainter@@PBVQScrollBar@@HII@Z)
> sipqtQInterlaceStyle.obj : error LNK2001: unresolved external symbol
> "public: vi
> rtual void __thiscall QInterlaceStyle::scrollBarMetrics(class
QScrollBar
> const *
> ,int &,int &,int &,int &)"
> (?scrollBarMetrics@QInterlaceStyle@@UAEXPBVQScrollBar
> @@AAH111@Z)
> sipqtQInterlaceStyle.obj : error LNK2001: unresolved external symbol
> "public: vi
> rtual int __thiscall QInterlaceStyle::defaultFrameWidth(void)const "
> (?defaultFr
> ameWidth@QInterlaceStyle@@UBEHXZ)
> sipqtQInterlaceStyle.obj : error LNK2001: unresolved external symbol
> "public: vi
> rtual void __thiscall QInterlaceStyle::drawPushButtonLabel(class
QPushButton
> *,c
> lass QPainter *)"
> (?drawPushButtonLabel@QInterlaceStyle@@UAEXPAVQPushButton@@PAV
> QPainter@@@Z)
> sipqtQInterlaceStyle.obj : error LNK2001: unresolved external symbol
> "public: vi
> rtual void __thiscall QInterlaceStyle::drawPushButton(class
QPushButton
> *,class
> QPainter *)"
> (?drawPushButton@QInterlaceStyle@@UAEXPAVQPushButton@@PAVQPainter@@
> @Z)
> sipqtQInterlaceStyle.obj : error LNK2001: unresolved external symbol
> "public: vi
> rtual class QRect __thiscall
> QInterlaceStyle::comboButtonRect(int,int,int,int)"
> (?comboButtonRect@QInterlaceStyle@@UAE?AVQRect@@HHHH@Z)
> sipqtQInterlaceStyle.obj : error LNK2001: unresolved external symbol
> "public: vi
> rtual void __thiscall QInterlaceStyle::drawComboButton(class
QPainter
> *,int,int,
> int,int,class QColorGroup const &,bool,bool,bool,class QBrush const
*)"
> (?drawCo
>
mboButton@QInterlaceStyle@@UAEXPAVQPainter@@HHHHABVQColorGroup@@_
N22PBVQBrus
> h@@@
> Z)
> sipqtQInterlaceStyle.obj : error LNK2001: unresolved external symbol
> "public: vi
> rtual void __thiscall QInterlaceStyle::drawFocusRect(class QPainter
*,class
> QRec
> t const &,class QColorGroup const &,class QColor const *,bool)"
> (?drawFocusRect@
>
QInterlaceStyle@@UAEXPAVQPainter@@ABVQRect@@ABVQColorGroup@@PBVQColor@
@_N@Z)
> sipqtQInterlaceStyle.obj : error LNK2001: unresolved external symbol
> "public: vi
> rtual void __thiscall QInterlaceStyle::drawIndicatorMask(class
QPainter
> *,int,in
> t,int,int,int)"
> (?drawIndicatorMask@QInterlaceStyle@@UAEXPAVQPainter@@HHHHH@Z)
> sipqtQInterlaceStyle.obj : error LNK2001: unresolved external symbol
> "public: vi
> rtual void __thiscall QInterlaceStyle::drawIndicator(class QPainter
> *,int,int,in
> t,int,class QColorGroup const &,int,bool,bool)"
> (?drawIndicator@QInterlaceStyle@
> @UAEXPAVQPainter@@HHHHABVQColorGroup@@H_N2@Z)
> sipqtQInterlaceStyle.obj : error LNK2001: unresolved external symbol
> "public: vi
> rtual class QSize __thiscall
QInterlaceStyle::indicatorSize(void)const "
> (?indi
> catorSize@QInterlaceStyle@@UBE?AVQSize@@XZ)
> sipqtQInterlaceStyle.obj : error LNK2001: unresolved external symbol
> "public: vi
> rtual void __thiscall
QInterlaceStyle::drawExclusiveIndicatorMask(class
> QPainter
> *,int,int,int,int,bool)"
> (?drawExclusiveIndicatorMask@QInterlaceStyle@@UAEXPAVQ
> Painter@@HHHH_N@Z)
> sipqtQInterlaceStyle.obj : error LNK2001: unresolved external symbol
> "public: vi
> rtual void __thiscall QInterlaceStyle::drawExclusiveIndicator(class
QPainter
> *,i
> nt,int,int,int,class QColorGroup const &,bool,bool,bool)"
> (?drawExclusiveIndicat
> or@QInterlaceStyle@@UAEXPAVQPainter@@HHHHABVQColorGroup@@_N22@Z)
> sipqtQInterlaceStyle.obj : error LNK2001: unresolved external symbol
> "public: vi
> rtual class QSize __thiscall
> QInterlaceStyle::exclusiveIndicatorSize(void)const
> " (?exclusiveIndicatorSize@QInterlaceStyle@@UBE?AVQSize@@XZ)
> sipqtQInterlaceStyle.obj : error LNK2001: unresolved external symbol
> "public: vi
> rtual void __thiscall QInterlaceStyle::drawPanel(class QPainter
> *,int,int,int,in
> t,class QColorGroup const &,bool,int,class QBrush const *)"
> (?drawPanel@QInterla
> ceStyle@@UAEXPAVQPainter@@HHHHABVQColorGroup@@_NHPBVQBrush@@@Z)
> sipqtQInterlaceStyle.obj : error LNK2001: unresolved external symbol
> "public: vi
> rtual void __thiscall QInterlaceStyle::drawBevelButton(class
QPainter
> *,int,int,
> int,int,class QColorGroup const &,bool,class QBrush const *)"
> (?drawBevelButton@
>
QInterlaceStyle@@UAEXPAVQPainter@@HHHHABVQColorGroup@@_NPBVQBrush@@@Z)
> sipqtQInterlaceStyle.obj : error LNK2001: unresolved external symbol
> "public: vi
> rtual void __thiscall QInterlaceStyle::drawButtonMask(class QPainter
> *,int,int,i
> nt,int)" (?drawButtonMask@QInterlaceStyle@@UAEXPAVQPainter@@HHHH@Z)
> sipqtQInterlaceStyle.obj : error LNK2001: unresolved external symbol
> "public: vi
> rtual void __thiscall QInterlaceStyle::drawButton(class QPainter
> *,int,int,int,i
> nt,class QColorGroup const &,bool,class QBrush const *)"
> (?drawButton@QInterlace
> Style@@UAEXPAVQPainter@@HHHHABVQColorGroup@@_NPBVQBrush@@@Z)
> sipqtQInterlaceStyle.obj : error LNK2001: unresolved external symbol
> "public: vi
> rtual void __thiscall QInterlaceStyle::unPolish(class QApplication
*)"
> (?unPolis
> h@QInterlaceStyle@@UAEXPAVQApplication@@@Z)
> sipqtQInterlaceStyle.obj : error LNK2001: unresolved external symbol
> "public: vi
> rtual void __thiscall QInterlaceStyle::polish(class QApplication *)"
> (?polish@QI
> nterlaceStyle@@UAEXPAVQApplication@@@Z)
> sipqtQInterlaceStyle.obj : error LNK2001: unresolved external symbol
> "public: vi
> rtual void __thiscall QInterlaceStyle::unPolish(class QWidget *)"
> (?unPolish@QIn
> terlaceStyle@@UAEXPAVQWidget@@@Z)
> sipqtQInterlaceStyle.obj : error LNK2001: unresolved external symbol
> "public: vi
> rtual void __thiscall QInterlaceStyle::polish(class QWidget *)"
> (?polish@QInterl
> aceStyle@@UAEXPAVQWidget@@@Z)
> sipqtQInterlaceStyle.obj : error LNK2001: unresolved external symbol
> "public: cl
> ass QRect __thiscall QInterlaceStyle::pushButtonContentsRect(class
> QPushButton
> *)"
>
(?pushButtonContentsRect@QInterlaceStyle@@QAE?AVQRect@@PAVQPushButton@
@@Z)
> libqtc.pyd : fatal error LNK1120: 30 unresolved externals
> NMAKE : fatal error U1077: 'link' : return code '0x460'
> Stop.
>
>
> _______________________________________________
> PyKDE mailing list [EMAIL PROTECTED]
> http://mats.gmd.de/mailman/listinfo/pykde
>
--
Greg Green
Advanced Design Systems
Math & Computing Technology
Boeing
(425) 865-2790
_______________________________________________
PyKDE mailing list [EMAIL PROTECTED]
http://mats.gmd.de/mailman/listinfo/pykde