Thanks for help, i've done some digging and understand my mistake, I now tell it, if it helps somebody: if we write Depends block, we dont need to owerwrite the absolute path of the lib, qbs done all the work automatically (it suprising, but non-intuitive) StaticLibrary{ Depends { name: "cpp" } name: "Lib1" files: ["src/lib1.cpp"] } StaticLibrary{ Depends { name: "cpp" } name: "Lib2" files: ["src/lib2.cpp"] } Application { Depends { name: "cpp" } Depends { name: "Lib1" } Depends { name: "Lib2" } name: "HelloWorld" files: ["src/hello.cpp"] }
So it compiles and links correctly. P.S. I begin to hope that qbs is suitable for most my use cases =) _______________________________________________ QBS mailing list QBS@qt-project.org http://lists.qt-project.org/mailman/listinfo/qbs