[SOLVED] Name mangling when building qt applications
General and Desktop
5
Posts
3
Posters
3.2k
Views
1
Watching
-
wrote on 20 Jul 2011, 20:45 last edited by
I need a reference to the name mangling scheme for Qt apps built with qt creator 4.6 or later on a modern distro of Linux. I am referring to the list of symbols I get when doing: nm ./myQtApp
C++ name mangling is not standard so I am missing some of the decoration definitions. Sounds like this would refer to GCC in my case but I am not seeing the official list.
-
wrote on 20 Jul 2011, 20:55 last edited by
This "blog post":http://labs.qt.nokia.com/2009/08/12/some-thoughts-on-binary-compatibility/ might be a good starting point. There are some informative links, as well.
-
wrote on 20 Jul 2011, 20:58 last edited by
thanks, that should do it.
-
wrote on 20 Jul 2011, 21:00 last edited by
Hope so!
-
wrote on 15 Aug 2011, 20:44 last edited by
Note that nm can demangle the symbols for you (--demangle) and you also use the c++filt utility to demangle a single symbol (e.g. one the linker is complaining about).