[PyQt] PyQt Release Plans and Qt v4.4 Support

Phil Thompson phil at riverbankcomputing.com
Thu Apr 17 19:27:16 BST 2008


On Thursday 17 April 2008, Henning Schröder wrote:
> On Thu, Apr 17, 2008 at 11:12 AM, Phil Thompson
>
> <phil at riverbankcomputing.com> wrote:
> >  As mentioned before, if you are using GCC, you will need to edit
> >  mkspecs/common/g++.conf and comment out the line refering to
> > QMAKE_LFLAGS. I'm am told this will be fixed in the final Qt v4.4
> > release.
>
> I changed the spec-file and got an error:

That wouldn't cause this error.

> make[1]: Entering directory
> `/home/kde/pyqt/PyQt-x11-gpl-4.4-snapshot-20080416/QtCore'
> g++ -c -pipe -fPIC -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG
> -DQT_CORE_LIB -I. -I/home/kde/opt/include/python2.5
> -I/usr/include/python2.5 -I/home/kde/qt4/mkspecs/default
> -I/home/kde/qt4/include/QtCore -I/home/kde/qt4/include
> -I/usr/X11R6/include -o sipQtCoreQFile.o sipQtCoreQFile.cpp
> sipQtCoreQFile.cpp: In function 'PyObject* meth_QFile_unmap(PyObject*,
> PyObject*)':
> sipQtCoreQFile.cpp:1974: error: invalid conversion from 'void*' to 'uchar*'
> sipQtCoreQFile.cpp:1974: error:   initializing argument 1 of 'bool
> QFile::unmap(uchar*)'
> make[1]: *** [sipQtCoreQFile.o] Error 1
> make[1]: Leaving directory
> `/home/kde/pyqt/PyQt-x11-gpl-4.4-snapshot-20080416/QtCore'
> make: *** [all] Error 2

You'd get that error if you weren't using the SIP snapshot.

> Sip compiled fine. I use gcc 4.1.3 on Ubuntu with a Qt4.4 snapshot
> from the KDE repository (qt-copy).
> Should I try to Trolltech release candidate instead?

Qt snapshots aren't supported, but I don't think that's the problem.

Phil



More information about the PyQt mailing list