Opened 18 years ago

Last modified 17 years ago

#202 new task

Investigate SIP instead of boost::python

Reported by: diane Owned by: king
Priority: major Milestone: Standing on our heads
Component: Qt Gui Version:
Keywords: Cc:


The hope is that perhapis it'd be easier to export mussa classes to pyqt?

Change History (2)

comment:1 by diane, 17 years ago

Owner: changed from diane to king

comment:2 by diane, 17 years ago

I managed to manually compile the SIP python interface

$ export SIP_OUTPUT_DIR=t
$ export SIPFLAGS=$(python -c "from PyQt4 import pyqtconfig ; print pyqtconfig.Configuration().pyqt_sip_flags")
$ sip -c $SIP_OUTPUT_DIR $SIPFLAGS mussamod.sip
$ g++ -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -g -bundle -undefined dynamic_lookup -I~/proj/mussa/sip -I/usr/local/qt/4.2.3/include -I/usr/local/qt/4.2.3/include/QtGui -I/usr/local/qt/4.2.3/include/QtCore -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -I.. -I../.. -I/usr/local/include -o -F/usr/local/qt/4.2.3/lib -framework QtCore -framework QtGui -L/Users/diane/proj/mussa/build/qui/ -lmussa_qui -L/Users/diane/proj/mussa/build/alg/ -lmussa_core -L/usr/local/lib -lboost_filesystem *.cpp

(Obviously that's specific to my OS X laptop

Note: See TracTickets for help on using tickets.