[Qbs] Global qbsSearchPaths within Qt Creator

Christian Kandeler Christian.Kandeler at qt.io
Fri Mar 31 15:05:38 CEST 2017

[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,

More information about the Qbs mailing list