On Wednesday 17 September 2008 09:38:19 Arend van Beelen wrote:
> Hi guys,
>
> using the commercial 20080915 snapshot, I get the following link error:
>
> undefined reference to `QByteArray::indexOf(char const*, int) const'
>
> However linking to every other Qt function works perfectly fine, and if I
> change the offending call from buf->indexOf("\r\n") to
> buf->indexOf(QString("\r\n")) it also links fine. Is this a known issue?

No. I can't see anything that would cause that error...

Can you check src/corelib/tools/qbytearray.cpp and verify that 

int QByteArray::indexOf(const char *c, int from) const

is there around line 2100 ?

I also see that this function was de-inlined compared to Qt 4.4. You may have 
a mismatch of libraries: you compiled against 4.5, but you're running against 
4.4.
-- 
Thiago José Macieira - thiago.macieira AT trolltech.com
Trolltech, a Nokia Company
Sandakerveien 116, NO-0402 Oslo, Norway

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

Reply via email to