Re: [Qbs] Using QBS with an nonexistent $HOME

2020-03-03 Thread Иван Комиссаров
That’s a very interesting article! However, I’ve noticed a strange thing. The doc [0] says that CPPFLAGS variable is the "Options for the C preprocessor» which means this variable should map to cpp.cppFlags, not to cpp.commonCompilerFlags This also means that duplicated values passed as

Re: [Qbs] Using QBS with an nonexistent $HOME

2020-03-03 Thread Alberto Mardegan
On 29/02/20 19:17, Wookey wrote: > I have written a wiki page about using QBS to build debian packages: > https://wiki.debian.org/Qbs > > I deal with QBS's desire to store a profile in the home directory by setting > --settings-dir to either /tmp (potential security risk as other can change >

Re: [Qbs] Using QBS with an nonexistent $HOME

2020-02-29 Thread Wookey
On 2020-02-29 09:05 +0300, Alberto Mardegan wrote: > Hi there! > I'm trying to build a Debian/Ubuntu package of a QBS project in > launchpad.net; the site uses sbuild, which has the peculiarity of > setting "HOME=/sbuild-nonexistent". > > I'm stuck at the step "qbs setup-qt", which fails with

Re: [Qbs] Using QBS with an nonexistent $HOME

2020-02-29 Thread Иван Комиссаров
Hello! Have you tried the --settings-dir option to some existent (maybe temporary) directory? I can’t test it as I don’t have Qbs 1.10, but it should help. Ivan > 29 февр. 2020 г., в 09:05, Alberto Mardegan > написал(а): > > Hi there! > I'm trying to build a Debian/Ubuntu package of a QBS

[Qbs] Using QBS with an nonexistent $HOME

2020-02-28 Thread Alberto Mardegan
Hi there! I'm trying to build a Debian/Ubuntu package of a QBS project in launchpad.net; the site uses sbuild, which has the peculiarity of setting "HOME=/sbuild-nonexistent". I'm stuck at the step "qbs setup-qt", which fails with this error: Setting up Qt profile 'qt5' failed: Cannot create