Getting Qt docs built and installed on Windows
-
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
-
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
-
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 ?
-
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.
-
Which instructions are you referring to ?
-
[quote author="SGaist" date="1380124933"]Which instructions are you referring to ?[/quote]
Your instructions posted moments ago versus mine - at the top.
-
No it's not local to it, you can have an out of source build without any problem
-
[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?
-
\Qt
\Qt\qtsources
\Qt\build_qt <- call ..\qtsources\configure and nmake here -
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
-
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
-
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?
-
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 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"