[PyKDE] Windows XP, PyQT and SIP

anthony tarlano tarlano at yahoo.com
Tue Aug 27 18:17:00 BST 2002


I am trying to use PyQT with python..

I have the Microsoft Platform SDK on a window XP box,
Python 2.2.1, SIP-3.3.2, the lastest QT download, and
PyQT-3.3.2

The steps as far as I can tell is to nmake SIP and
then nmake PyQT, not sure how I can use QT designer
with python but I will get to that later... Now back
to my big problem... And here it is.. Everytime I try
to nmake the SIP distro I get the following error
message 

c:\qt\include\qlist.h(105) : error C2491:
'QList<type>::deleteItem' : definition
 of dllimport function not allowed
NMAKE : fatal error U1077: 'cl' : return code '0x2'

Any Suggestions???? The full output of the nmake is
below... Thanks Anthony



-------------------------------------------------------

C:\Python22\Lib\site-packages\sip-3.3.2>nmake

Microsoft (R) Program Maintenance Utility   Version
1.50
Copyright (c) Microsoft Corp 1988-94. All rights
reserved.

        cd sipgen
        "c:\Program Files\Microsoft
SDK\Bin\win64\nmake.exe"

Microsoft (R) Program Maintenance Utility Version
7.10.2154.8
Copyright (C) Microsoft Corporation.  All rights
reserved.

        cd siplib
        "c:\Program Files\Microsoft
SDK\Bin\win64\nmake.exe"

Microsoft (R) Program Maintenance Utility Version
7.10.2154.8
Copyright (C) Microsoft Corporation.  All rights
reserved.

        cl -c -nologo -W0 -MD -O1 -DSIP_MAKE_DLL
-DSIP_QT_SUPPORT -DQT_DLL -DQT_
THREAD_SUPPORT -DNO_DEBUG -I"."
-I"c:\python22\include" -I"C:\qt\include" -I"c:\
Program Files\Microsoft SDK\include\win64\crt"
-I"c:\Program Files\Microsoft SDK
\include" -Foobjmap.obj objmap.c
objmap.c
        cl -c -nologo -W0 -MD -O1 -DSIP_MAKE_DLL
-DSIP_QT_SUPPORT -DQT_DLL -DQT_
THREAD_SUPPORT -DNO_DEBUG -I"."
-I"c:\python22\include" -I"C:\qt\include" -I"c:\
Program Files\Microsoft SDK\include\win64\crt"
-I"c:\Program Files\Microsoft SDK
\include" -Foqtlib.obj qtlib.cpp
qtlib.cpp
c:\qt\include\qlist.h(105) : error C2491:
'QList<type>::deleteItem' : definition
 of dllimport function not allowed
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fatal error U1077:
'C:\WINDOWS\system32\cmd.exe' : return code '0x2'
Stop.
--------------------------------------------------




=====
Make it a great day!!

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com




More information about the PyQt mailing list