Not sure, but maybe that's the same issue as 
https://bugreports.qt.io/browse/QBS-667 ?

Thomas

-----Ursprüngliche Nachricht-----
Von: Qbs [mailto:[email protected]] Im 
Auftrag von Christian Kandeler
Gesendet: Freitag, 31. März 2017 15:06
An: [email protected]
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 <[email protected]> on behalf of 
Benjamin Balga <[email protected]>
Sent: Thursday, March 30, 2017 5:07 PM
To: [email protected]
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
[email protected]
http://lists.qt-project.org/mailman/listinfo/qbs
_______________________________________________
Qbs mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qbs

Reply via email to