[PyKDE] SIP/PyQt v3.1pre3

Janez Jere janez.jere at void.si
Fri Mar 1 13:56:52 GMT 2002


Hi,

I want to build PyQt with QThread, because I need QThread.postEvent, (as I
found in Qt sources, it will correctly add event from Python thread in a Qt
Event Queue).

But I am not very successful with building it on redhat 7.2.
I tried to build it several times. In first attempt configure didn't
recognise that qt is build with -thread.
In second attempt I replaced all qt-mt) with qt) in configure,
than -DQT_THREAD_SUPPORT switch was added to scripts.
but compile failed. What should I do?

Best regard, Janez

g++ -E -I/usr/include/python2.2  -I/usr/lib/qt-2.3.1/include -DQT_THREAD_SUP
PORT  -I/usr/X11R6/include sipqtProxyqt.h >moc_sipqtProxyqt.h
/usr/lib/qt-2.3.1/bin/moc -o sipqtProxyqt.moc moc_sipqtProxyqt.h
/bin/sh ../libtool --mode=compile
++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/include/python2.2  -I/usr/lib/qt-2.3
.1/include -DQT_THREAD_SUPPORT  -I/usr/X11R6/include  -fno-exceptions -O2 -c
 -o sipqtQThread.lo `test -f sipqtQThread.cpp || echo './'`sipqtQThread.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/python2.2 -I/usr/lib/qt-2.3.
1/include -DQT_THREAD_SUPPORT -I/usr/X11R6/include -fno-exceptions -O2 -c
sipqtQThread.cpp  -fPIC -DPIC -o sipqtQThread.lo
sipqtQThread.cpp: In function `PyObject *sipDo_QThread_initialize
(PyObject *, PyObject *)':
sipqtQThread.cpp:210: no method `QThread::initialize'
sipqtQThread.cpp: In function `PyObject *sipDo_QThread_cleanup
(PyObject *, PyObject *)':
sipqtQThread.cpp:235: no method `QThread::cleanup'
make[2]: *** [sipqtQThread.lo] Error 1
make[2]: Leaving directory `/home/jj/dl/PyQt-3.1pre3/qt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jj/dl/PyQt-3.1pre3'
make: *** [all] Error 2







More information about the PyQt mailing list