Wrong usage of QList::ConstIterator & QList::begin() ?

Thiago Macieira thiago at kde.org
Sun Oct 19 13:04:38 BST 2008


Christian Ehrlicher wrote:
>I'm using 4.4.3 - do I have to compile qt with -DQT_STRICT_ITERATORS too
>or is this a bug? For me it looks like another problem because of the
>exported template class QVector<QXmlStreamAttribute>

Yes.

Blame MSVC for that. The function is inline, but MSVC expects to find it 
in the DLL, instead of creating the inline copy.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20081019/e93fbd23/attachment.sig>


More information about the kde-core-devel mailing list