[Development] Qt binaries with inlined functions

Dimitar Dobrev dpldobrev at yahoo.com
Tue Apr 29 13:28:33 CEST 2014


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_


 Members such as row() or column() are missing. I don't know about other OS-es but on Windows these are all symbols for that class.

 Dimitar

On Tuesday, April 29, 2014 2:17 PM, Allan Sandfeld Jensen <kde at carewolf.com> wrote:
 
On Tuesday 29 April 2014, Dimitar Dobrev wrote:

>     I don't need invisible inlines either but some of them - such as
> QModelIndex::row() - are visible. Is there any way to emit just the
> visible inlines?
> 
Shouldn't be needed they are emitted by default. Only static inlines are 
omitted from the final binary. Note that you need to mark the methods exported 
due to -fvisibility-inlines-hidden (or remove that flag from your build).

Regards
`Allan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20140429/ba8463da/attachment.html>


More information about the Development mailing list