[QBS] Default install prefix

Joerg Bornemann joerg.bornemann at theqtcompany.com
Mon May 4 14:54:42 CEST 2015


On 01-May-15 02:04, Christian Gagneraud wrote:

> I recently installed QBS from sources, and to my (bad) surprise i got it
> installed in /, instead of the more usual /usr/install (speaking about
> Linux obviously). The reason for this is that I didn't configure/use any
> prefix and/or destdir (autoconf semantic). Is it a QBS feature or is it
> a QBS own source feature?

Ouch! That's a bug in the qmake project files for qbs.
You can control the install location by setting QBS_INSTALL_PREFIX:
     qmake QBS_INSTALL_PREFIX=/some/where

Thanks for spotting this!


BR,

Joerg



More information about the Qbs mailing list