Dimitri Papadopoulos wrote: > Hi, > > For those interested, this describes how to build SIP+PyQt on > Mac OS X using the following: following is a step by step way to
configure/make sip and PyQt In the meantime I succeded in installed sip. The solution to compile and link sip -- the actual version: http://www.riverbankcomputing.co.uk/download/snapshots/sip-3.2rc2.tar.gz worked quite fine. TNX for this. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ configure for PyQt works too. But while make'ing there occured several errors : ... Making all in qt make[2]: Entering directory `/Users/hum/SOFTWARE/AUSGEPACKT/PyQt-3.2rc2/qt' c++ -E -I/sw/include/python2.2 -I/sw/include -DQT_THREAD_SUPPORT -I/usr/X11R6/include -I.. sipqtProxyqt.h >moc_sipqtProxyqt.h sipqtProxyqt.h:39: undefined type, found `class' sipqtProxyqt.h:39: illegal external declaration, missing `;' after `sipProxyqt' sipqtProxyqt.h:39: undefined type, found `public' sipqtProxyqt.h:39: illegal external declaration, missing `;' after `sipProxy' sipqtProxyqt.h:41: undefined type, found `Q_OBJECT' sipqtProxyqt.h:43: illegal external declaration, missing `;' after `public' sipqtProxyqt.h:46: undefined type, found `public' sipqtProxyqt.h:46: illegal external declaration, missing `;' after `slots' sipqtProxyqt.h:48: undefined type, found `QAction' sipqtProxyqt.h:50: syntax error, found `&' ... (the same for all Q*Item ...) sipqtProxyqt.h:111: syntax error, found `&' sipqtProxyqt.h:111: illegal function definition, found `)' sipqtProxyqt.h:114: syntax error, found `&' sipqtProxyqt.h:114: illegal function definition, found `)' sipqtProxyqt.h:115: undefined type, found `QWidget' sipqtProxyqt.h:116: undefined type, found `QObject' cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode /sw/bin/moc -o sipqtProxyqt.moc moc_sipqtProxyqt.h ... the linking process ended errornous with: c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/sw/include/python2.2 -I/sw/include -DQT_THREAD_SUPPORT -I/usr/X11R6/include -fno-exceptions -O2 -c sipqtQThread.cpp -fno-common -DPIC -o sipqtQThread.lo sipqtQThread.cpp: In function `struct PyObject * sipDo_QThread_currentThread(PyObject *, PyObject *)': sipqtQThread.cpp:157: assignment to `void *' from `long unsigned int' lacks a cast make[2]: *** [sipqtQThread.lo] Error 1 make[2]: Leaving directory `/Users/hum/SOFTWARE/AUSGEPACKT/PyQt-3.2rc2/qt' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/Users/hum/SOFTWARE/AUSGEPACKT/PyQt-3.2rc2' make: *** [all] Error 2 Any hints? Ludger _______________________________________________ PyKDE mailing list [EMAIL PROTECTED] http://mats.gmd.de/mailman/listinfo/pykde
