On quarta-feira, 6 de junho de 2012 06.27.06, [email protected] wrote: > L94: Q_DECLARE_TYPEINFO(QNetworkHeadersPrivate::RawHeaderPair, > Q_MOVABLE_TYPE); > > And the above code indicates that QList<RawHeaderPair> (L4) will firstly use > the QTypeInfo<RawHeaderPair>, which is declared in last code L94. So it > seems an error, but does anyone know how to fix it ? or how to ignore such > error ?
You can remove this line. Declaring a QPair's type info is not necessary since
there's a partial template specialisation for it in qpair.h which will do the
right thing.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
Intel Sweden AB - Registration Number: 556189-6027
Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
