QT 5.0.0 documentation doesn't build
-
It seems documentation doesn't get builded and installed if I build QT by myself. Does it required separate building and installation?
I compile with VS2012 (64 bit). I configure with "-prefix c:\QT\5.0.0" then "nmake" then "nmake install". All is OK in the c:\QT\5.0.0 except doc folder. The doc folder size is just 133Kb. It is abviously not right. When I launch assistant it shows nothing (empty). Readme says nothing about separate doc building. So how to build and install docs?Same thing with QT creator 2.6.1. Qtcreator itself is OK by empty docs too. When call help menu it is empty. Does it require separate doc building as well?
-
<code>make docs</code>
-
OK. I have switched to 5.0.1 but still have trouble with QT docs.
This is my configPATH=C:\Src\qt-everywhere-opensource-src-5.0.1\gnuwin32\bin;C:\Src\qt-everywhere-opensource-src-5.0.1\qtbase\bin;%PATH%
configure -prefix C:\Libs\qt\5\x64 -debug-and-release -shared -nomake tests -confirm-license -mp -opensource -openssl-linked -I C:\Libs\openssl\include -L C:\Libs\openssl\lib64 -icu -I C:\Libs\icu\include -L C:\Libs\icu\lib64Then I do
nmake
nmake install
nmake docsLast one breaks with error
C:\Src\qt-everywhere-opensource-src-5.0.1\qtbase\bin\qhelpgenerator.exe C:/Src/qt-everywhere-opensource-src-5.0.1/qtbase/doc/qtcore/
qtcore.qhp -o C:/Src/qt-everywhere-opensource-src-5.0.1/qtbase/doc/qtcore.qch
NMAKE : fatal error U1077: 'C:\Src\qt-everywhere-opensource-src-5.0.1\qtbase\bin\qhelpgenerator.exe' : return code '0xc0000135'
Also I see tons of warmings likeC:/Src/qt-everywhere-opensource-src-5.0.1/qtdoc/doc/src/platforms/supported-platforms.qdoc:28: warning: Can't link to 'WebKit in Qt'
Which is not good I guess.
Also qhelpgenerator.exe is in the qttools\bin but nmake tries to run it from qtbase\bin. I have copied it over.
Could somebody explain how to build docs right if it is possible at all?
-
Documentation building failed to me as well, html docs managed to build but the assistant files did not...
-
IIRC, the qhelpgenerator.exe error disappeared for me when I compiled the qttools folder first
-
How have you done this? Just cd qttools and do nmake from there? Actually tools are supposed to be compiled by default.
-
This was my full set of commands, using the latest stable branch (as of 27 Jan 2013) from git:
@
configure -developer-build -opensource -confirm-license -nomake demos -nomake examples -nomake tests -opengl desktop -mp
nmake module-qtdoc
nmake docs
nmake module-qttools
nmake docs
@Line 3 failed, so I called Line 4, and then Line 5 succeeded. I don't know if it was just a fluke, or if Line 4 did something.
-
I just ran into the qhelpgenerator.exe - return code ‘0xc0000135’ problem. Solution was to make sure that "qtbase\bin\qhelpgenerator.exe" could be launched from the command line. In my case the ICU-dlls where not accessible. I just copied them to the qtbase\bin-folder and the documentation built successfully.
-
[quote author="Johannes.Munk" date="1370182781"]I just ran into the qhelpgenerator.exe - return code ‘0xc0000135’ problem. Solution was to make sure that "qtbase\bin\qhelpgenerator.exe" could be launched from the command line. In my case the ICU-dlls where not accessible. I just copied them to the qtbase\bin-folder and the documentation built successfully.[/quote]
Hmmm. Very interesting. I rebuilt Qt5 from source and excluded ICU libraries. I'm having the same problem building the docs. -
Since this issue remains un-commented since June, has anyone found a solution?
-
I've never seen this issue; I've never had a problem building the docs from git on Windows 8 using MinGW.
Try asking on the "Interest mailing list":http://lists.qt-project.org/mailman/listinfo/interest (you'll need to subscribe first). Qt's engineers are active there; they'll probably know more.
-
[quote author="JKSH" date="1380124875"]I've never seen this issue; I've never had a problem building the docs from git on Windows 8 using MinGW.
Try asking on the "Interest mailing list":http://lists.qt-project.org/mailman/listinfo/interest (you'll need to subscribe first). Qt's engineers are active there; they'll probably know more.[/quote]
Ok thanks for that suggestion. However, in order to be fully Windows compatible we need to build using the Visual C compiler (version 11 on VS2012) and not MinGW.