On Tue, 07 Jun 2011 11:01 +0200, "André Pönitz"
<[email protected]> wrote:
> On Tuesday 07 June 2011 10:34:18 ext Max Waterman wrote:
> > Is there a way to make work in a similar way to a C++ library? I don't
> > really know the details how those work, but it seems like you can tell
> > the debugger that the source for a library that is in (eg)
> > /usr/lib/libbla.so is in ~/git/bla/lib and when you debug it, you are
> > using and editing the source in your git repository.
> 
> But after you edited the sources in ~/git/bla/lib, the debug information
> for your libbla.so is no more up-to-date and will provide an
> "interesting"
> debugging experience. So I am not sure the problem is "solved" on
> the C++ side as you thing it is.

Hrm, that's true. It's been a little while since I did this sort of
thing - I think I must have used LD_LIBRARY_PATH to use the libs in the
git tree - ie without 'make install'....and ldd <applicationbinary>
would tell me it's using the 'local' one rather than the installed one.

Is there a way to do that with QML? Hrm...I'm actually using qmlviewer
from qtcreator, so I suppose I might be able to use the -I command line
option to qmlviewer to load from the relevant path in my git tree,
right?

Max.
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-creator

Reply via email to