On 06/07/2011 12:59 PM, Max Waterman wrote: > 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?
My attempts at this have failed - it always seems to prefer the installed imports rather than the ones in directories specified by '-I'. Anyone any ideas? Max. > Max. > _______________________________________________ > Qt-creator mailing list > [email protected] > http://lists.qt.nokia.com/mailman/listinfo/qt-creator _______________________________________________ Qt-creator mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-creator
