[Qt-interest] Qt on Linux
Andreas Pakulat
apaku at gmx.de
Fri Jan 9 13:21:10 CET 2009
On 09.01.09 13:11:32, Oliver.Knoll at comit.ch wrote:
> manish.s.sharma at nokia.com wrote on Friday, January 09, 2009 10:42 AM:
>
> > Hi,
> >
> > I have a installed Qt in Linux. I have installed Kdevelop as well. I
> > started debugging my test application and somewhere it is causing a
> > segmentation fault. But I am not able to get in to the source file of
> > Qt during debugging. It seems my program is hitting the release
> > version. Following the call stack:
> >
> >
> > #0 ??
> > /usr/lib/libQtCore.so.4 #1 ??
> >...
>
> Your program is hitting the release libraries because you linked against them (libQtCore.so)! The DEBUG Qt libraries contain a 'd' in their name (libQtCored.so), so there is no way your application could "accidentally" mix them up at runtime (depending on the LD_LIBRARY_PATH for example, which defines where to look for libraries basically).
No, that only happens on Windows. Linux allows to split libraries and debug
symbols, hence you get libQtCore.so.4 and libQtCore.so.4.debug.
Andreas
--
You will be run over by a bus.
More information about the Qt-interest-old
mailing list