Hi Stephan, Note. I am not a qbs developer. But i think i met the same problem.
You get warning *import QbsFunctions not found* because it is not a part of qbs. I found this file here <https://github.com/qtproject/qt-labs-qbs/tree/master/qbs-resources/imports/QbsFunctions> . What you need is to create you own QbsFunctions folder. Like this <path_to_functions>/imports/QbsFunctions/functions.js. Also you need to set up a property *qbsSearchPaths: "<path_to_functions>"* See more about it in the documentation <http://doc.qt.io/qbs/project-item.html>. Hope it will help. And sorry if i am wrong. Roman On Sat, Apr 16, 2016 at 9:53 PM, Stephan Gatzka <[email protected]> wrote: > Hi all, > > I just want to import QbsFunctions in my project, but qbs complains about > it. > > That's just a small project: > > import qbs 1.0 > import QbsFunctions > > Project { > > } > > qbs 1.4.5 says: > import QbsFunctions not found > > What am I doing wrong? > > Regards, > > Stephan > _______________________________________________ > 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
