On Tuesday 07 June 2011 10:34:18 ext Max Waterman wrote: > Hi, > > I am trying to develop qml that is used in an application via an import. > The qml gets installed into /usr/lib/qt4/imports/.... and when I run the > application via qtcreator in debug mode, I can step through the code no > problem, but when I try to make an edit, I usually can't due to > permissions and even if I fix that, it is the installed copy I am > editing. This creates a bit of an issue since the qml files are from a > git clone I have, and when I do a 'make install' again, it overwrites > the newly-debugged version. > > 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. Andre' _______________________________________________ Qt-creator mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-creator
