[Qbs] Using QBS with an nonexistent $HOME
abbapoh at gmail.com
Sat Feb 29 09:23:28 CET 2020
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.
> 29 февр. 2020 г., в 09:05, Alberto Mardegan <mardy at users.sourceforge.net> написал(а):
> 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 directory
> Adding the "--system" option to QBS doesn't seem to help. I guess I
> could workaround the issue by setting HOME=$PWD, but this partially
> defeats the point of using sbuild.
> Is there a better way to solve this? I'm especially curious, because the
> step "setup-toolchains" doesn't seem to be affected by this issue.
> http://www.mardy.it - Geek in un lingua international
> Qbs mailing list
> Qbs at qt-project.org
More information about the Qbs