Thomas Perl <th.p...@gmail.com> wrote: > Why do you want to use Qt Resources instead of deploying the files to > the filesystem?
To "hide" some of QML code away from prying eyes. Of course, I know that it's a very poor protection as it is just compression so everything can be easily extracted, but that's actually all I need. I do not intend to protect the code from anyone, just from those "copy&pasters" who take whole portions of other people's projects (or even whole applications) and use as their own without crediting the source or contacting the author and just asking. Some time ago I had my entire QML app copied this way and released in Nokia store (with just some colors changed) and since then I use resources. People who copy others' work this way usually can't code too much themselves (and that's why they copy) so they usually don't know how to extract from the resource, either. And even if they know, at least it takes some effort (surely more than just copying a .qml file) - I mean if they don't have time to contact the author and just ask for permission then at least they'll spend that t ime on extracting and decompressing from the resource :-) That's my goal - to force such people to make some more effort than Ctrl+C / Ctrl+V ;-) It enhances their skills, so it's quite an educational attempt - maybe one day they'll start writing apps themselves. That's why I use Qt resource rather than some more sophisticated protection - for the type of persons I want to protect it against it is quite sufficient, and from other types of people I do not need to protect it, nor do I have time to do it. B. _______________________________________________ SailfishOS.org Devel mailing list