[Development] configure -developer-build --prefix=$PWD/qtbase

Thiago Macieira thiago.macieira at intel.com
Wed Mar 26 20:19:02 CET 2014


Em qua 26 mar 2014, às 08:21:20, Alan Ezust escreveu:
> Does anyone understand what the difference is between a qt that is
> configured like this:  ./configure -developer-build versus a Qt that is
> configured like this: configure -developer-build --prefix=$PWD/qtbase
> 
>  according to ./configure --help, it says this:
>     -prefix <dir> ...... This will install everything relative to <dir>
>                          (default /usr/local/Qt-5.3.0, $PWD if
> -developer-build is active)

Unfortunately, both are correct.

If you run the top-level configure and you want a no-install build, you need to 
pass -prefix=$PWD/qtbase. If you run the qtbase configure, you pass -prefix=$PWD.

When you run configure -help, you always get the help output from the qtbase 
configure. That's why it says $PWD instead of $PWD/qtbase.

In any case, -developer-build turns that option on by default, so you 
shouldn't need to pass it. You need it if you're not making a developer build 
-- that is, if you're a user of Qt, not a developer of Qt.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list