[Qbs] Global qbsSearchPaths within Qt Creator
Benjamin Balga
balga.benjamin at gmail.com
Sun Apr 2 21:43:22 CEST 2017
I just tried that, adding the project from an other .qbs file, using Project.references, and it doesn't work either.
It works if I set qbsSearchPaths in the main qbs file (with the Project item), but that's not what I was looking for, the global profile isn't loaded. It's kind of a workaround I guess.
I will create a bug report then.
Thanks,
Best regards,
Benjamin
Le 31 mars 2017 à 15:11:13, Epting, Thomas (thomas.epting at stryker.com) a écrit:
Not sure, but maybe that's the same issue as https://bugreports.qt.io/browse/QBS-667 ?
Thomas
-----Ursprüngliche Nachricht-----
Von: Qbs [mailto:qbs-bounces+thomas.epting=stryker.com at qt-project.org] Im Auftrag von Christian Kandeler
Gesendet: Freitag, 31. März 2017 15:06
An: qbs at qt-project.org
Betreff: Re: [Qbs] Global qbsSearchPaths within Qt Creator
[Sorry for top-posting, have to use Outlook at the moment.]
Hi Benjamin,
your example looks fine to me. I suggest you create a bug report and attach a minimal complete example to we can investigate where the problem is.
Christiann
________________________________________
From: Qbs <qbs-bounces+christian.kandeler=qt.io at qt-project.org> on behalf of Benjamin Balga <balga.benjamin at gmail.com>
Sent: Thursday, March 30, 2017 5:07 PM
To: qbs at qt-project.org
Subject: [Qbs] Global qbsSearchPaths within Qt Creator
Hi,
I'm trying to make some custom qbs items available across all my qbs projects in QtCreator, but I can't figure out how to do that. I followed http://doc.qt.io/qbs/custom-modules.html, adding the path in qbsSearchPaths, but it doesn't work (items are not found). I also tried to add the path in QtCreator preferences for the kit I use (profile properties), no luck either.
On my disk I have :
/test/qbs/imports/Test.qbs:
import qbs
Product {
}
I set qbsSearchPaths to "/test/qbs".
In my qbs project I have:
//import Test // doesn't work
CppApplication {
Test { // Error: unexpected item type
}
}
Is it a bug, or am I doing something wrong?
Thanks,
Best regards,
Benjamin
_______________________________________________
Qbs mailing list
Qbs at qt-project.org
http://lists.qt-project.org/mailman/listinfo/qbs
_______________________________________________
Qbs mailing list
Qbs at qt-project.org
http://lists.qt-project.org/mailman/listinfo/qbs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20170402/e9690a44/attachment.html>
More information about the Qbs
mailing list