[QBS] Additional import path
Andrey Anpilogov
anpilog at gmail.com
Fri Jan 9 10:06:15 CET 2015
I misunderstood docs...
Let it be here if anyone will look for similar issue.
1) Set global preference:
qbs config preferences.qbsSearchPaths: "path-to-qbs-assets"
2) Add items as:
path-to-qbs-assets:
-->imports:
---->MyCoolProduct.qbs
3) Use custom items in your project:
import qbs
Project {
MyCoolProduct {
}
}
2015-01-09 16:58 GMT+08:00 Andrey Anpilogov <anpilog at gmail.com>:
> Hi,
>
> Is there any way to define extra search path for imports?
> It looks like qbsSearchPaths works only for modules.
>
> Regards
>
--
--
WBR,
Andrii Anpilogov
Phone: +86 186-1660-3720
Skype: anpilogov.andrey
mailto:anpilog at gmail.com, andrii.anpilogov at mesheven.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20150109/64f2b75b/attachment.html>
More information about the Qbs
mailing list