[Development] mkspec "linux-arm-armcc " for qt5

song.7.liu at nokia.com song.7.liu at nokia.com
Wed Jun 6 09:14:44 CEST 2012


Ok, thanks... A few minutes ago I also tried to remove this declaration, it works now.

-----Original Message-----
From: development-bounces+song.7.liu=nokia.com at qt-project.org [mailto:development-bounces+song.7.liu=nokia.com at qt-project.org] On Behalf Of ext Thiago Macieira
Sent: Wednesday, June 06, 2012 3:01 PM
To: development at qt-project.org
Subject: Re: [Development] mkspec "linux-arm-armcc " for qt5

On quarta-feira, 6 de junho de 2012 06.27.06, song.7.liu at nokia.com 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



More information about the Development mailing list