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

lists4pghanghas lists4pghanghas at gmail.com
Tue Jun 22 21:25:06 CEST 2010


On Tuesday 22 June 2010 05:06 AM, Rohan McGovern wrote:
> 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
>
>    
Thanks Rohan,
That solved it. I was able to compile and install docs.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100623/4f34d7f3/attachment.html 


More information about the Qt-interest-old mailing list