[PyKDE] Buling PyQt into Python: Errors

Phil Thompson phil at riverbankcomputing.co.uk
Thu Oct 21 09:16:35 BST 2004


>
> Yes, that worked!
>
> Now I just get them as unresolveds by the linker in the final step. I
> think this comes from confusion in the first part of "Rebuilding
> Python". When it says:
> 	Edit Makefile.pre.in and add the macros PYQT_OBJS and PYQT_LIBS.
>
> 	PYQT_OBJS contains the path names of all the object files that
> were 	created when you built the static SIP and PyQt modules, ie. the
> outputs of ls siplib/*.o and ls qt*/*.o from the SIP and PyQt source
> directories respectively.
>
> 	PYQT_LIBS contains the command line flags needed to link the
> various 	Qt libraries. For example:
>
> 	PYQT_LIBS= -L/usr/local/qt/lib -lqscintilla -lqassistantclient
> -lqui -	lqt-mt
> Where it says "add the macros" I am assuming that PYQT_OBJS and
> PYQT_LIBS are already defined and that I do not have to define them? But
> I don't see where they are specified.

No, "add the macros" means define them. The standard Python configuration
knows nothing about PyQt.

Phil




More information about the PyQt mailing list