On 06/07/2011 04:18 PM, [email protected] wrote: >> -----Original Message----- >> From: [email protected] [mailto:qt- >> [email protected]] On Behalf Of ext >> [email protected] >> Sent: Tuesday, June 07, 2011 2:18 PM >> To: [email protected] >> Subject: Re: [Qt-creator] debugging qml that is installed in >> /usr/lib/qt4/imports... from a git tree? >> >>> [..] >>> 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'. > I doubt it. Arguments passed to qmlviewer via "-I" are prepended to the list > of directories used to locate plugins.
Hrm, ok. Perhaps it is something related to the path of the import then. For example, the import is like this : 'import a.b 0.1' and there is /usr/lib/qt4/imports/a/b, but there's no 'a/b' in my git tree. >> Anyone any ideas? > Setting the QML_IMPORT_TRACE environment variable to e.g. "1" might give you > some insight on what the engine does. OK, I'll give that a try...time for home now though, but thanks for the tip. Regards, Max. _______________________________________________ Qt-creator mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-creator
