khtml - render_text: Q3PtrVector->QVector

Maks Orlovich mo85 at cornell.edu
Fri Jun 30 00:53:03 BST 2006


On Tuesday 27 June 2006 16:29, Peter Kümmel wrote:
> I get a strange linker error when compiling
> khtml with msvc: it could not find Q3GVector::at,
> even though this function is an inline function.
> Maybe this is because of the debug mode, but trying
> to force the inlining doesn't work.
>
> Before fiddling around with this Q3Support code
> I've used QVector instead, which solves the linker
> error.
>
> Is it possible to apply the attached patch? 

This patch is wrong. Q3PtrVector has very different semantics from QVector in 
many functions, in particular count()/size() and insert() (which in 
QPtrVector behaves more like replace).






More information about the kde-core-devel mailing list