Re: [QBS] Default install prefix

2015-05-04 Thread Joerg Bornemann
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
___
QBS mailing list
QBS@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qbs


Re: [QBS] Default install prefix

2015-05-05 Thread Joerg Bornemann
On 04-May-15 14:54, Joerg Bornemann 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

This is now fixed for 1.4.1.
The default of QBS_INSTALL_PREFIX is /usr/local.


BR,

Joerg
___
QBS mailing list
QBS@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qbs