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

Koehne Kai Kai.Koehne at digia.com
Wed Mar 26 16:34:26 CET 2014

> The README in the qt distribution is confusing to me. I am not sure if it is consistent with the ./configure --help.
> 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

Well ... this depends on what your current working directory is, and which configure (the one in qtbase, or the top-level one) you call :) -developer-build indeed sets prefix to $PWD (inside qtbase) if not set otherwise.

> 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)
> So what does it mean when you use both -prefix and -developer-build, as some of the README examples show? Is the "make install" step necessary?

If your prefix doesn't match the default, then yes, you might need to run make install to e.g. link other applications against the Qt.

>Will this affect how one builds the documentation (make docs and make install_docs later on)?

Not sure. But it's definitely possible to run 'make docs' in a sandboxed build/developer build.

> The reason I am asking is because I am having trouble building documentation from Qt 5.3Alpha.
> I never end up with qhelpcollection installed under qtbase/bin.

I'm not aware of a qhelpcollection binary ... both qhelpgenerator and qhelpconverter are put in bin for me in the 5.3 Beta.

> Does -developer-build work with building documentation?


Maybe you should share some more details how exactly you did configure Qt?



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20140326/98e723be/attachment.html>

More information about the Development mailing list