Em ter 29 abr 2014, às 13:43:00, Allan Sandfeld Jensen escreveu: > On Tuesday 29 April 2014, Dimitar Dobrev wrote: > > They are not emitted. I've opened QtCore with > > http://www.dependencywalker.com/ and the only symbols I can see for > > QModelIndex are: > > > > _ZNK11QModelIndex4dataEi > > _ZNK11QModelIndex5childEii > > _ZNK11QModelIndex5flagsEv > > _ZNK11QModelIndex6parentEv > > _ZNK11QModelIndex7isValidEv > > _ZNK11QModelIndex7siblingEii > > _ZNK11QModelIndexeqERKS_ > > _ZNK11QModelIndexltERKS_ > > _ZNK11QModelIndexneERKS_ > > Interesting. Note that all of those methods are also inline, so you have > some inlines but not others. Have you tried without > -fvisibility-inlines-hidden? (which marks normally visible inline methods > invisible unless explicitly declared exported).
Inline functions that aren't used won't be emitted either. You need to *use* all of them. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development