[Development] Can't build docs anymore!

Loaden loaden at gmail.com
Tue Apr 17 08:06:57 CEST 2012


Still not work after applied this patch.

 echo "MODULE_BUILD_DIR=D:\qpSOFT\Projects\Qt5\qtdoc" >
> D:\qpSOFT\Projects\Qt5\qtdoc\qtdoc.pri
> cd doc\ && D:\qpSOFT\DEVx86\bin\nmake.exe -f Makefile qch_docs
>  (set QT_ACTIVEQT_SOURCES=D:\qpSOFT\Projects\Qt5\qtactiveqt\src\activeqt
> NMAKE : fatal error U1077: '(set' : return code '0x1'
> Stop.
> NMAKE : fatal error U1077: 'cd' : return code '0x2'
> Stop.



2012/4/17 Rohan McGovern <rohan.mcgovern at nokia.com>

> Loaden said:
> > I don't think this is a good idea, realy.
> > We should find out a better way.
> >
>
> Yes, that was only a workaround.
>
> qtdoc/doc/doc.pri should be modified to avoid building such a huge
> command.  As far as I know, it is valid to set an environment variable
> in one make command and make use of it in the next, so I don't think
> this needs to be built as a single huge command.
>
> Maybe even the following patch is already enough, but I didn't test it:
>
>  diff --git a/doc/doc.pri b/doc/doc.pri
>  index c11b14d..fd41803 100644
>  --- a/doc/doc.pri
>  +++ b/doc/doc.pri
>  @@ -18,7 +18,7 @@ $$unixstyle {
>       SEP =
>   } else {
>       SET = set
>  -    SEP = &&
>  +    SEP = $$escape_expand(\\n\\t)
>   }
>
>   # The module names correspond to the names of files in
> qtbase/mkspecs/modules
>



-- 
Regards
Loaden
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120417/1afb5a95/attachment.html>


More information about the Development mailing list