[Development] How to build Qt5's docs?

Loaden loaden at gmail.com
Sat Aug 25 11:16:33 CEST 2012


Only works on Linux (ubuntu 12.04), not Windows 7 SP1 using MSVC2010SP1.
(shadow build)

>
> cd qtbase\ && ( if not exist Makefile
> d:\qpSOFT\Projects\BuildQt5-x64\qtbase\bin\qmake.EXE
> d:\qpSOFT\Projects\Qt5\qtbase\qtbase.pro -o Makefile ) &&
> D:\qpSOFT\MyDEV\bin\amd64\nmake.exe -f Makefile docs
>  cd src\ && ( if not exist Makefile
> d:\qpSOFT\Projects\BuildQt5-x64\qtbase\bin\qmake
> d:\qpSOFT\Projects\Qt5\qtbase\src\src.pro -o Makefile ) &&
> D:\qpSOFT\MyDEV\bin\amd64\nmake.exe -f Makefile docs
>  cd tools\ && ( if not exist Makefile
> d:\qpSOFT\Projects\BuildQt5-x64\qtbase\bin\qmake
> d:\qpSOFT\Projects\Qt5\qtbase\src\tools\tools.pro -o Makefile ) &&
> D:\qpSOFT\MyDEV\bin\amd64\nmake.exe -f Makefile docs
>  cd bootstrap\ && ( if not exist Makefile
> d:\qpSOFT\Projects\BuildQt5-x64\qtbase\bin\qmake
> d:\qpSOFT\Projects\Qt5\qtbase\src\tools\bootstrap\bootstrap.pro -o
> Makefile ) && D:\qpSOFT\MyDEV\bin\amd64\nmake.exe -f Makefile docs
>  D:\qpSOFT\MyDEV\bin\amd64\nmake.exe -f Makefile.Release
>  cd moc\ && ( if not exist Makefile
> d:\qpSOFT\Projects\BuildQt5-x64\qtbase\bin\qmake
> d:\qpSOFT\Projects\Qt5\qtbase\src\tools\moc\moc.pro -o Makefile ) &&
> D:\qpSOFT\MyDEV\bin\amd64\nmake.exe -f Makefile docs
>  cd rcc\ && ( if not exist Makefile
> d:\qpSOFT\Projects\BuildQt5-x64\qtbase\bin\qmake
> d:\qpSOFT\Projects\Qt5\qtbase\src\tools\rcc\rcc.pro -o Makefile ) &&
> D:\qpSOFT\MyDEV\bin\amd64\nmake.exe -f Makefile docs
>  cd qdoc\ && ( if not exist Makefile
> d:\qpSOFT\Projects\BuildQt5-x64\qtbase\bin\qmake
> d:\qpSOFT\Projects\Qt5\qtbase\src\tools\qdoc\qdoc.pro -o Makefile ) &&
> D:\qpSOFT\MyDEV\bin\amd64\nmake.exe -f Makefile docs
>  D:\qpSOFT\MyDEV\bin\amd64\nmake.exe -f Makefile.Release
>  cd uic\ && ( if not exist Makefile
> d:\qpSOFT\Projects\BuildQt5-x64\qtbase\bin\qmake
> d:\qpSOFT\Projects\Qt5\qtbase\src\tools\uic\uic.pro -o Makefile ) &&
> D:\qpSOFT\MyDEV\bin\amd64\nmake.exe -f Makefile docs
>  cd corelib\ && ( if not exist Makefile
> d:\qpSOFT\Projects\BuildQt5-x64\qtbase\bin\qmake
> d:\qpSOFT\Projects\Qt5\qtbase\src\corelib\corelib.pro -o Makefile ) &&
> D:\qpSOFT\MyDEV\bin\amd64\nmake.exe -f Makefile docs
>  d:\qpSOFT\Projects\BuildQt5-x64\qtbase\bin\qdoc.exe -installdir
> D:/qpSOFT/Projects/BuildQt5-x64/qtbase/doc -indexdir ../../doc
> D:/qpSOFT/Projects/Qt5/qtbase/src/corelib/doc/qtcore.qdocconf
> Cannot find index directory ../../doc
> ASSERT: "&other != this" in file
> d:\qpsoft\projects\buildqt5-x64\qtbase\include\qtcore\../../../../Qt5/qtbase/src/corelib/tools/qstring.h,
> line 755
> NMAKE : fatal error U1077:
> 'd:\qpSOFT\Projects\BuildQt5-x64\qtbase\bin\qdoc.exe' : return code '0x1'
> Stop.
> NMAKE : fatal error U1077: 'cd' : return code '0x2'
> Stop.
> NMAKE : fatal error U1077: 'cd' : return code '0x2'
> Stop.
> NMAKE : fatal error U1077: 'cd' : return code '0x2'
> Stop.



2012/8/25 Loaden <loaden at gmail.com>

> I can using 'make docs' to create qt.qch for now.
>



-- 
Best Regards
Yuchen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120825/d91c7b4e/attachment.html>


More information about the Development mailing list