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.

What's the equivalent for qml? I guess something with adjusting the
import path?

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

Reply via email to