[Qbs] Global qbsSearchPaths within Qt Creator

Epting, Thomas thomas.epting at stryker.com
Fri Mar 31 15:10:33 CEST 2017

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


-----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.

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


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 :

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?


Best regards,

Qbs mailing list
Qbs at qt-project.org

More information about the Qbs mailing list