On 26-Feb-14 10:13, Fatih Aşıcı wrote: > I am using qbs for my bare metal projects. I need paths to > arm-none-eabi-objcopy/size. > > Currently, I get them using: > > propertypathobjcopyPath:cpp.compilerPath.replace(/gcc(.exe)?$/,"objcopy$1") > > propertypathsizePath:cpp.compilerPath.replace(/gcc(.exe)?$/,"size$1") > > But this seems ugly. Profiles created with "qbs setup-toolchains" have a > cpp.toolchainPrefix > > property to hold target triplet but Qt Creator (3.0.1) does not set this > variable.
Right. Qt Creator ideally should set toolchainPrefix and toolchainInstallPath. > This property could be useful to generate paths to such tools; but it > might be better to > > have variables like cpp.objcopyPath declared by qbs. The objcopy tool isn't used ATM by qbs. That's why there's no such property. If we're going to introduce such properties, where do we draw the border? Do we provide a path for every program in binutils? BR, Joerg _______________________________________________ QBS mailing list QBS@qt-project.org http://lists.qt-project.org/mailman/listinfo/qbs