On Wed, 30 Mar 2011 09:43:42 -0700, emmanuel_mays...@lynceantech.com wrote: > Hello, > > I am trying to compile my *sip files. > I am following the docs at > http://www.rkblog.rk.edu.pl/w/p/making-pyqt4-widgets-sip/ [^] > http://www.riverbankcomputing.co.uk/static/Docs/sip4/index.html [^] > http://www.panix.com/~elflord/unix/siptute/index.html [^] > http://www.controlvideo.de/sip/ [^] > > I try to compile > %Module CaFramework 1 > %Include QtGui/QtGuimod.sip > %Include QCaToolTip.sip > > with QCaToolTip.sip: > > class QCaToolTip > { > %TypeHeaderCode > #include <QCaToolTip.h> > %End > public: > QCaToolTip(); > virtual ~QCaToolTip(); > void updateToolTipVariable ( const QString& ); > void updateToolTipAlarm ( const QString& ); > void updateToolTipConnection ( bool ); > virtual void updateToolTip( const QString& ) = 0; > private: > void displayToolTip(); > }; > > > Q1: why am I supposed to Include QtGuimod?
You aren't. > Shouldn't QString be found in some other way? You should... %Import QtCore/QtCoremod You other problems are related to this. > Q2: The Module directive is overridden by qtGuimod.sip. is this expected? > > /usr/share/sip/PyQt4/QtGui/qpytextobject.sip > [...] > g++ -c -pipe -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 > -fstack-protector > --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -W -D_REENTRANT > -DNDEBUG -DQT_NO_DEBUG > -DQT_CORE_LIB -DQT_GUI_LIB -I. -Ica_framework_includes > -I/home/cls1fs/epics/epics2//workspace/epicsqt/epicsqt-1.1.1-src//ca_framework//widgets/include > -I/home/cls1fs/epics/epics2//workspace/epicsqt/epicsqt-1.1.1-src//ca_framework//data/include > -I/home/cls1fs/epics/epics2//workspace/epicsqt/epicsqt-1.1.1-src//ca_framework//api/include > -I/home/cls1fs/epics/epics2//workspace/epicsqt/epicsqt-1.1.1-src//ca_framework//plugins/include > -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/python2.6 > -I/usr/lib64/qt4/mkspecs/default -I/usr/include -I/usr/X11R6/include -o > sipQtGuiQPyTextObject.o sipQtGuiQPyTextObject.cpp > /usr/share/sip/PyQt4/QtGui/qpytextobject.sip:34:27: error: > qpytextobject.h: No such file or > directory > sipQtGuiQPyTextObject.cpp:97: error: expected class-name before ‘{’ token > sipQtGuiQPyTextObject.cpp: In constructor > ‘sipQPyTextObject::sipQPyTextObject(QObject*)’: > > Q3: Where can I find qpytextobject.h? > > I am running on Fedora 11 64bit. > I have installed all the PyQt stuff I could find ;-) to no avail. > > Q4: is there a SIP specific mailing list? No. Phil _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt