[Qbs] Using QBS with an nonexistent $HOME

Иван Комиссаров abbapoh at gmail.com
Sat Feb 29 09:23:28 CET 2020


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 <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
> '/sbuild-nonexistent/.config/QtProject/qbs/1.10.1/profiles/qt5/modules/Qt'.
> 
> 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.
> 
> Ciao,
>  Alberto
> 
> -- 
> http://www.mardy.it - Geek in un lingua international
> _______________________________________________
> Qbs mailing list
> Qbs at qt-project.org
> https://lists.qt-project.org/listinfo/qbs



More information about the Qbs mailing list