Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Getting Qt docs built and installed on Windows

Getting Qt docs built and installed on Windows

Scheduled Pinned Locked Moved General and Desktop
16 Posts 2 Posters 4.0k 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #2

    Hi,

    Did you call nmake install once you built the doc ?

    Interested in AI ? www.idiap.ch
    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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

      Yes I did. Let me clarify though. I called nmake install from within the root of the source tree i.e. qt5. That is, I performed config, jom -j 4 (nmake) and then jom -j 4 install. That was ncessesary to build then install the target folders, and its contents and it all worked too except for docs.

      Hope that helps

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

        I have tried again building tag v5.1.1 from scratch and AGAIN it fails to install. Note that I specify an install folder using the -prefix option with configure and it is reflected in the output of qmake -query. When I build the docs I get numerous "cannot find index directory" messages. There is no bug for this version but there IS a largely commented bug for v5.02 and it remains unresolved.

        Will someone please help? Is it wrong to specify an alternate install directory? Everything installs for the build except the docs. I'm surprised there haven't been more attention paid to this problem

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #5

          I don't think it's fundamentally wrong, but the "instructions":http://qt-project.org/doc/qt-5.0/qtdoc/install-win.html for windows are to build "in place" and not install. So the question is: are you bitten by that ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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

            Hi,
            Well the instructions pointed to leave out a step that suggests that the docs are a separate effort than the rest of the build as I pointed out at the top of my post. The only distinction regarding Windows is in nmake versus make. The doc build instructions DO state that qtbase be built AND installed. I don't know how else to interpret that.

            I am "bitten" by the inconsistency of one set of instructions versus the other. Additionally, are you suggesting that for Windows the build is local to the root of the checked out source tree i.e. qt5, and then to use that folder structure? For example, the bin folder living in c:\qt5\qtbase\bin versus mine - c:\qt\5.1.1\msvc2012\bin. The latter (c:\qt\5.1.1\msvc2012) is what I used as a prefix.

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #7

              Which instructions are you referring to ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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

                [quote author="SGaist" date="1380124933"]Which instructions are you referring to ?[/quote]

                Your instructions posted moments ago versus mine - at the top.

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #9

                  No it's not local to it, you can have an out of source build without any problem

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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

                    [quote author="SGaist" date="1380664652"]No it's not local to it, you can have an out of source build without any problem[/quote]

                    What's meant by out of source?

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #11

                      \Qt
                      \Qt\qtsources
                      \Qt\build_qt <- call ..\qtsources\configure and nmake here

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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

                        Could be me but I don't see the context of what you wrote. I posted the paths that I have used to try and rebuild from source.

                        Thanks anyway

                        1 Reply Last reply
                        0
                        • SGaistS Offline
                          SGaistS Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on last edited by
                          #13

                          From your configure log, you are building directly in the source tree and installing in a prefixed folder. An out of source build occurs in another folder so could directly configure/build in c:\Qt\5.1.1\msvc2012 without using a prefix

                          Interested in AI ? www.idiap.ch
                          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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

                            The path "c:\Qt\5.1.1\msvc2012" is a target path; it's created upon the install target. i.e. nmake install. Are you suggesting renaming the source tree to the target path? If true, how is that not then building in the source tree?

                            1 Reply Last reply
                            0
                            • SGaistS Offline
                              SGaistS Offline
                              SGaist
                              Lifetime Qt Champion
                              wrote on last edited by
                              #15

                              No, that's not what i am suggesting:

                              @cd c:\Qt\5.1.1\msvc2012
                              C:\Qt\qt5\qtbase\configure
                              nmake@

                              No need of a prefix nor install

                              Interested in AI ? www.idiap.ch
                              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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

                                [quote author="SGaist" date="1380747770"]No, that's not what i am suggesting:

                                @cd c:\Qt\5.1.1\msvc2012
                                C:\Qt\qt5\qtbase\configure
                                nmake@

                                No need of a prefix nor install[/quote]

                                The folder msvc2012 is, as I metnioned earlier a target folder. It is created from the install target of make (nmake). If I created that folder and called configure from its location, what causes configure or nmake to install binaries to the folder I created?

                                EDIT:
                                So I tried what you suggested. Take note that the first response to my post was if I called nmake install. WIth that aside, I was successful in getting the binaries installed to the bin folder of the folder I created:

                                @
                                cd C:\Qt\5.1.1msvc2012
                                z:\qt5\qtbase\configure ..........
                                jom -j4
                                @

                                I STILL get no docs created from my "out of source build"

                                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