I am getting unresolved external symbols when building PyQt 3.7 (commercial version) 
with Visual Studio .Net 2002 with Qt 3.1.1. I believe when I compiled Qt, I specified 
Windows XP Style support as a plugin (not direct). Is there a way to avoid the link 
errors or to exclude this class from the PyQt compile? Here is some output from the 
link step:

        link /NOLOGO /DELAYLOAD:comdlg32.dll /DELAYLOAD:oleaut32.dll /DELAYLOAD:
winmm.dll /DELAYLOAD:wsock32.dll /DELAYLOAD:winspool.dll /SUBSYSTEM:WINDOWS /DLL
 /LIBPATH:"C:\Qt\3.1.1\lib" /OUT:..\..\..\Python22\Lib\site-packages\libqtc.pyd
@C:\DOCUME~1\stuvi\LOCALS~1\Temp\nmB2.tmp
   Creating library ..\..\..\Python22\Lib\site-packages\libqtc.lib and object ..
\..\..\Python22\Lib\site-packages\libqtc.exp
LINK : warning LNK4199: /DELAYLOAD:comdlg32.dll ignored; no imports found from c
omdlg32.dll
LINK : warning LNK4199: /DELAYLOAD:oleaut32.dll ignored; no imports found from o
leaut32.dll
LINK : warning LNK4199: /DELAYLOAD:winmm.dll ignored; no imports found from winm
m.dll
LINK : warning LNK4199: /DELAYLOAD:wsock32.dll ignored; no imports found from ws
ock32.dll
LINK : warning LNK4199: /DELAYLOAD:winspool.dll ignored; no imports found from w
inspool.dll
sipqtQWindowsXPStyle.obj : error LNK2001: unresolved external symbol "public: vi
rtual bool __thiscall QWindowsXPStyle::qt_property(int,int,class QVariant *)" (?
[EMAIL PROTECTED]@@UAE_NHHPAVQVariant@@@Z)
sipqtQWindowsXPStyle.obj : error LNK2001: unresolved external symbol "public: vi
rtual bool __thiscall QWindowsXPStyle::qt_emit(int,struct QUObject *)" (?qt_emit
@QWindowsXPStyle@@UAE_NHPAUQUObject@@@Z)
sipqtQWindowsXPStyle.obj : error LNK2001: unresolved external symbol "public: vi
rtual bool __thiscall QWindowsXPStyle::qt_invoke(int,struct QUObject *)" (?qt_in
[EMAIL PROTECTED]@@UAE_NHPAUQUObject@@@Z)
sipqtQWindowsXPStyle.obj : error LNK2001: unresolved external symbol "public: vi
rtual void * __thiscall QWindowsXPStyle::qt_cast(char const *)" ([EMAIL PROTECTED]
wsXPStyle@@[EMAIL PROTECTED])
sipqtQWindowsXPStyle.obj : error LNK2001: unresolved external symbol "public: vi
rtual char const * __thiscall QWindowsXPStyle::className(void)const " (?classNam
[EMAIL PROTECTED]@@UBEPBDXZ)

Thanks
-Selim

Selim Tuvi, Research Engineering Group, SLAC
GLAST, I&T Online, MS 98
Tel:650-926-3376 Fax:650-926-4335

_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to