gcc -framework whatever reports undefined symbols at the compile-time
intermediate linking phase. gcc -lwhatever does not.

See my previous post about run-time and compile-time linking.

When you import a module, it links the PyQt4 module with your qt4
libs. According to your trolltech announcement it is no suprise that
any shared library using those two functions (like PyQt4) will compile
correctly and fail on linking (like __import__('PyQt4')).


On 5/23/06, Andreas Pakulat <[EMAIL PROTECTED]> wrote:
On 22.05.06 20:52:28, Patrick Stinson wrote:
> Didn't you say that my example code didn't work for you? Any code that
> uses that function should not link with the library in question.

You're missing my point: Why does PyQt4 compilation fail for you, but
not for me. Judging from a quick look at your first message, I guess
it's du to different gcc on a different OS. That's all I wanted to know.

Andreas

--
Don't read any sky-writing for the next two weeks.

_______________________________________________
PyKDE mailing list    [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde



--
Patrick Kidd Stinson
http://www.patrickkidd.com/
http://pkaudio.sourceforge.net/
http://pksampler.sourceforge.net/

_______________________________________________
PyKDE mailing list    [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to