[PyQt] Problem compile latest PyQt4 snapshot on win32

Detlev Offenbach detlev at die-offenbachs.de
Thu May 17 13:06:19 BST 2007


On Donnerstag, 17. Mai 2007, Detlev Offenbach wrote:
> 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

Hi,

I investigated this a bit more and found, that the problem occures when using 
the -c flag. Without it, the problem isn't there.

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


More information about the PyQt mailing list