[Qt-interest] should this build and install 4.7 documentation also

Rohan McGovern rohan.mcgovern at nokia.com
Tue Jun 22 01:36:42 CEST 2010


On Tuesday 22 June 2010, ext lists4pghanghas wrote:
> ./configure -debug -declarative -make docs -prefix ../qt4.7
> make && make install

No.  Passing `-make docs' to configure will put a `docs' target into 
the top-level makefile, but it won't run it automatically.  Also, 
`-make docs' is turned on by default, so you don't need to specify 
it.

To build the docs, run `make docs' after building Qt.

A quirk in the build system means that `make install' won't install 
the docs unless qmake is run _after_ the docs are generated.  Also, 
you need to install Qt before generating the docs, otherwise qdoc3 
will not be able to find the Qt libraries.

So you need to do something like this:

 configure   \    # configure Qt
 make \           # build Qt
 make install \   # install Qt
 make docs    \   # run qdoc3 to generate docs
 make qmake \     # run qmake again to generate the makefiles
                  # which know how to install docs
 make install     # install Qt and docs

-- 
Rohan



More information about the Qt-interest-old mailing list