[QScintilla] Linker error in QScintilla python bindings

Phil Thompson phil at riverbankcomputing.com
Tue Jun 10 14:58:02 BST 2008


On Tuesday 03 June 2008 3:26:03 pm Andre Alexander Bell wrote:
> Hello,
>
> I've received a mail by Stefan Bisplinghoff, to copy as a test the
> moc_qsci*.obj files from the QScintilla\Qt4\release directory to the
> Python directory and manually add them to the generated Makefile in
> QScintilla\Python. After that the linker error were gone and I even
> could start Eric with that QScintilla Python binding. This is the same
> as statically linking QScintilla.
>
> Therefore, I thought there must be some error with my compiled version
> of the QScintilla library. I then tried compiling the QScintilla
> example, which works fine. I then tried the Qt4 native examples, which
> work fine. Afterwards I started the same examples from their PyQt
> counterpart, which work fine too. Still I get the linker error in the
> QScintilla python binding.
>
> Now I've tried the same on another machine. Windows XP, MS Visual Studio
> .Net 2003 instead of 2008, again Qt4.4 same error.

It should be fixed in tonight's snapshot.

In the meantime just add "-DQSCINTILLA_DLL" to "CPPFLAGS" in the Makefile 
generated by configure.py.

Phil


More information about the QScintilla mailing list