Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. QT 5.0.0 documentation doesn't build
Forum Updated to NodeBB v4.3 + New Features

QT 5.0.0 documentation doesn't build

Scheduled Pinned Locked Moved Installation and Deployment
12 Posts 6 Posters 7.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    serg675
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lgeyer
      wrote on last edited by
      #2

      <code>make docs</code>

      1 Reply Last reply
      0
      • S Offline
        S Offline
        serg675
        wrote on last edited by
        #3

        OK. I have switched to 5.0.1 but still have trouble with QT docs.
        This is my config

        PATH=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\lib64

        Then I do

        nmake
        nmake install
        nmake docs

        Last 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 like

        C:/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?

        1 Reply Last reply
        0
        • U Offline
          U Offline
          utcenter
          wrote on last edited by
          #4

          Documentation building failed to me as well, html docs managed to build but the assistant files did not...

          1 Reply Last reply
          0
          • JKSHJ Offline
            JKSHJ Offline
            JKSH
            Moderators
            wrote on last edited by
            #5

            IIRC, the qhelpgenerator.exe error disappeared for me when I compiled the qttools folder first

            Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

            1 Reply Last reply
            0
            • S Offline
              S Offline
              serg675
              wrote on last edited by
              #6

              How have you done this? Just cd qttools and do nmake from there? Actually tools are supposed to be compiled by default.

              1 Reply Last reply
              0
              • JKSHJ Offline
                JKSHJ Offline
                JKSH
                Moderators
                wrote on last edited by
                #7

                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.

                Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                1 Reply Last reply
                0
                • J Offline
                  J Offline
                  Johannes.Munk
                  wrote on last edited by
                  #8

                  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.

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    astodolski
                    wrote on last edited by
                    #9

                    [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.

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      astodolski
                      wrote on last edited by
                      #10

                      Since this issue remains un-commented since June, has anyone found a solution?

                      1 Reply Last reply
                      0
                      • JKSHJ Offline
                        JKSHJ Offline
                        JKSH
                        Moderators
                        wrote on last edited by
                        #11

                        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.

                        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                        1 Reply Last reply
                        0
                        • A Offline
                          A Offline
                          astodolski
                          wrote on last edited by
                          #12

                          [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.

                          1 Reply Last reply
                          0

                          • Login

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Users
                          • Groups
                          • Search
                          • Get Qt Extensions
                          • Unsolved