[PyKDE] ANN: SIP/PyQt 3.3rc3

Willi Richert mennosimons at gmx.net
Thu Jul 4 11:50:00 BST 2002


Hi,

yes, without the last argument it worked (qthuge.cpp aprox 10MB ;-)
Unfortunately the same linker error (Qt-3.0.4 Evaluation) occurs. I have 
attached it, in case sombody understands it ;-)

willi

HERE IT COMES:
==================================================================================
cl -c -nologo -Zm200 -W0 -MD -O1  -DSIP_MAKE_MODULE_DLL -DQT_DLL -DQT_TH
READ_SUPPORT -DQT_NO_DEBUG -I"." -I"C:\Python22\include" 
-I"C:\Qt\3.0.4Evaluation\include" 
-I"C:\Qt\3.0.4Evaluation\mkspecs\win32-msvc" -Fomoc_sipqtProxyqt.obj
moc_sipqtProxyqt.cpp 
moc_sipqtProxyqt.cpp
        link /NOLOGO delayimp.lib /DELAYLOAD:comdlg32.dll 
/DELAYLOAD:oleaut32.dll /DELAYLOAD:winmm.dll /DELAYLOAD:wsock32.dll 
/DELAYLOAD:winspool.dll /SUBSYSTEM:windows /DLL 
/OUT:C:\Python22\Lib\site-packages\libqtc.pyd @C:\DOCUME~1\willi\L
OCALS~1\Temp\nm3E.tmp
   Creating library C:\Python22\Lib\site-packages\libqtc.lib and object 
C:\Python22\Lib\site-packages\libqtc.exp
LINK : warning LNK4199: /DELAYLOAD:comdlg32.dll ignored; no imports found from 
comdlg32.dll
LINK : warning LNK4199: /DELAYLOAD:oleaut32.dll ignored; no imports found from 
oleaut32.dll
LINK : warning LNK4199: /DELAYLOAD:winmm.dll ignored; no imports found from 
winmm.dll
LINK : warning LNK4199: /DELAYLOAD:wsock32.dll ignored; no imports found from 
wsock32.dll
LINK : warning LNK4199: /DELAYLOAD:winspool.dll ignored; no imports found from 
winspool.dll
qthuge.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) 
public: class QString & __thiscall QValueList<class QString>::first(void)" 
(__imp_?first@?$QValueList at VQString@@@@QAEAAVQString@@XZ) referenced in 
function "struct _object * __cdecl sipDo_QStringList_first(struct _object 
*,struct _object *)"(?sipDo_QStringList_first@@YAPAU_object@@PAU1 at 0@Z)
qthuge.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) 
public: class QString & __thiscall QValueList<class QString>::last(void)" 
(__imp_?last@?$QValueList at VQString@@@@QAEAAVQString@@XZ) referenced in 
function "struct_object * __cdecl sipDo_QStringList_last(struct _object 
*,struct _object *)" (?sipDo_QStringList_last@@YAPAU_object@@PAU1 at 0@Z)
qthuge.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) 
public: void __thiscall QValueList<class QString>::clear(void)" 
(__imp_?clear@?$QValueList at VQString@@@@QAEXXZ) referenced in function "struct 
_object * __cdecl sipDo_QStringList_clear(struct _object *,struct _object *)" 
(?sipDo_QStringList_clear@@YAPAU_object@@PAU1 at 0@Z)
qthuge.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) 
public: class QString & __thiscall 
QValueList<classQString>::operator[](unsignedint)"(__imp_??A?$QValueList at VQString@@@@QAEAAVQString@@I at Z) 
referenced in function "struct _object * 
__cdeclsipDo_QStringList___getitem__(struct _object *,struct _object *)" 
(?sipDo_QStringList___getitem__@@YAPAU_object@@PAU1 at 0@Z)
qthuge.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) 
public: class QValueListIterator<class QString> __thiscall QValueList<class 
QString>::append(class QString const &)" 
(__imp_?append@?$QValueList at VQString@@@@QAE?A
V?$QValueListIterator at VQString@@@@ABVQString@@@Z) referenced in function 
"struct _object * __cdecl sipDo_QStringList_append(struct _object *,struct 
_object *)"(?sipDo_QStringList_append@@YAPAU_object@@PAU1 at 0@Z)
qthuge.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) 
public: class QValueListIterator<class QString> __thiscall QValueList<class 
QString>::prepend(class QString const &)" 
(__imp_?prepend@?$QValueList at VQString@@@@QAE
?AV?$QValueListIterator at VQString@@@@ABVQString@@@Z) referenced in function 
"struct _object * __cdecl sipDo_QStringList_prepend(struct _object *,struct 
_object *)" (?sipDo_QStringList_prepend@@YAPAU_object@@PAU1 at 0@Z)
qthuge.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) 
public: unsigned int __thiscall QValueList<class QString>::remove(class 
QString const &)" (__imp_?remove@?$QValueList at VQString@@@@QAEIABVQString@@@Z) 
referenced in function "struct _object * __cdecl 
sipDo_QStringList_remove(struct _object *,struct _object *)" 
(?sipDo_QStringList_remove@@YAPAU_object@@PAU1 at 0@Z)
qthuge.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) 
public: int __thiscall QValueList<class QString>::findIndex(class QString 
const &)const "(__imp_?findIndex@?$QValueList at VQString@@@@QBEHABVQString@@@Z) 
referenced in function "struct _object * __cdecl 
sipDo_QStringList_findIndex(struct _object *,struct _object *)" 
(?sipDo_QStringList_findIndex@@YAPAU_object@@PAU1 at 0@Z)
qthuge.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) 
public: unsigned int __thiscall QValueList<class QString>::contains(class 
QStringconst &)const " 
(__imp_?contains@?$QValueList at VQString@@@@QBEIABVQString@@@Z) re
ferenced in function "struct _object * __cdecl 
sipDo_QStringList_contains(struct _object *,struct _object *)" 
(?sipDo_QStringList_contains@@YAPAU_object@@PAU1 at 0
@Z)C:\Python22\Lib\site-packages\libqtc.pyd : fatal error LNK1120: 9 
unresolved externals
NMAKE : fatal error U1077: 'link' : return code '0x460'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 
.NET\Vc7\b
in\nmake.exe"' : return code '0x2'
Stop.

D:\install\pyqt\PyQt-3.3rc3>
==================================================================================

On Thursday 04 July 2002 11:20, Phil Thompson wrote:
> Willi Richert wrote:
> > Hi,
> >
> > I tried the new rc3 and got:
> >
> > No style available in non-gui applications!
> > ******
> > Error: qttest failed with an exit code of 1.
> > *******
> >
> > Any suggestions?
>
> In build.py there is a call to the QApplication ctor. Try removing the
> last argument.
>
> I'm going to change this and parse the .h file rather than try and
> compile and run a Qt program to determine what features are enabled.
>
> Phil
>
> _______________________________________________
> PyKDE mailing list    PyKDE at mats.gmd.de
> http://mats.gmd.de/mailman/listinfo/pykde

-- 
Vieles ist einfach, der Rest zweifach.




More information about the PyQt mailing list