[PyQt] Problem compile latest PyQt4 snapshot on win32

Detlev Offenbach detlev at die-offenbachs.de
Thu May 17 10:20:33 BST 2007


Hi,

I am having problems compiling latest PyQt4 snapshot on win32. I get the 
following error message.

---------------------
g++ -c -O2 -Wall -mthreads -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -IC:
\Python25\include -IC:\Qt\4.2.3\mkspecs\default -IC:
\Qt\4.2.3\include\QtGui -IC:\Qt\4.2.3\include\QtCore -IC:\Qt\4.2.3\include -o 
sipQtGuipart0.o sipQtGuipart0.cpp
In file included from sipQtGuipart0.cpp:252:
sip/QtGui/qfileiconprovider.sip:29:31: qfileiconprovider.h: No such file or 
directory
In file included from sipQtGuipart0.cpp:252:
sipQtGuiQFileIconProvider.h:43: error: invalid use of undefined type 'struct 
QFileIconProvider'
C:/Qt/4.2.3/include/QtGui/../../src/gui/dialogs/qfiledialog.h:40: error: 
forward declaration of 'struct QFileIconProvider'
sipQtGuiQFileIconProvider.h:53: error: expected ';' before '(' token
make[1]: *** [sipQtGuipart0.o] Error 1
---------------------

It seems, that there is no include file 'qfileiconprovider.h', which I can 
confirm. However, there is an include file "QFileIconProvider". This is with 
Qt 4.2.3, mingw and latest sip snapshot.

Regards,
Detlev
-- 
Detlev Offenbach
detlev at die-offenbachs.de


More information about the PyQt mailing list