[SOLVED] Name mangling when building qt applications
-
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.
-
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.
-
thanks, that should do it.
-
Hope so!
-
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).