[PyQt] compile error Qt 3

Karl Merkley karl at elemtech.com
Wed Nov 12 20:35:55 GMT 2008


Using Windows msvc-2003.net and the following versions I'm getting a  
compile error:

Versions:
Qt 3.3.4
Sip 4.7.8
PyQt-commercial 3.17.5
Python 2.5.2

The error is:

    cl -c -nologo -Zm200 -GX -MD -O1 -W3 -w34100 -w34189 -
DUNICODE -DWIN32 -DQT_DLL -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -Ic:
\Python25\include -Ic:\Qt\3.3.4\mkspecs\win32-msvc.net -Ic:\Qt
\3.3.4\include -Fo @C:\DOCUME~1\rakerr\LOCALS~1\Temp\nmF2D7.tmp
sipqtQMemArray.cpp
sip/qt/qmemarray.sip(150) : error C2666:
'QMemArray<type>::operator`[]'' : 2 overloads have similar
conversions
    with
    [
        type=QRect
    ]
    c:\Qt\3.3.4\include\qmemarray.h(99): could be 'QRect
&QMemArray<type>::operator [](int) const'
    with
    [
        type=QRect
    ]
    or       'built-in C++ operator[(const QRect *, uint)'
    while trying to match the argument list '(QMemArray<type>,
uint)'
    with
    [
        type=QRect
    ]
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual
Studio .NET 2003\SDK\v1.1\Bin\nmake.e
xe"' : return code '0x2'
Stop.








More information about the PyQt mailing list