On Thursday 27 February 2014 22:21 Martin Kolman wrote: > 27.2.2014 22:10, Artem Marchenko:
> > - Let's not mandate the source code to use particular import form > > > > - You can still keep the warning as information for the developer > > > > and alert for the Harbour tester to check that this or that plugin is > > loaded exactly from app folders, but it shouldn't fail the validation. > > +1 from me on this! > > BTW, I'll just add another usecase - QML only modules. You might not > want to use absolute paths in every QML file using a set of components > (import "../my-shiny-module"), so you make it to a proper module with > qmldir and everything and add the folder it is in to QML import path. > Voila, you can just use "import shiny 1.0" I am *very* much for this proposal. That way I don't have to maintain several copies of the same qml module, but can use a git submodule and just update it when needed. -- Med venlig hilsen / Best Regards Thomas Tanghus _______________________________________________ SailfishOS.org Devel mailing list