Hi all

As you know harbour rules regarding custom libraries and QML modules
require two things:
1. Load everything from your app folder
2. In your QML import stuff as "import harbour.mycoolapp.desiredmodule"

Rule 1 makes sense for limiting dependency on the system, but rule 2..
Following it needs that at the very least you need modify the plugin's
qmldir, often you also have to change the source code of the plugin you use
(e.g. some nemomobile plugins have ASSERTs for the folder).

That is not nice and doesn't serve any purpose except for warning you. Also
it is easily gameable by just packaging all QMLs into a QRC resource that
harbour check script won't parse. That will kill the useful warnings too
though..

**Proposal**
- So lets mandate only what is actually needed: reading libraries from own
folder only. Traceable e.g. by strace
- 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.

What do you think?

Best regards,
Artem.

-- 
Artem Marchenko
http://agilesoftwaredevelopment.com
http://twitter.com/AgileArtem
_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to