[Development] Bootstrapping QDoc

2013-04-23 Thread Sze Howe Koh
Hello,

Not too long ago, I was able to compile Qt's HTML documentation by
simply running 'configure' followed by 'make html_docs'. It was really
easy and really fast, as I didn't have to build an entire git repo
first.

That's not the case anymore -- calling 'make html_docs' after
'configure' led to an attempt to run qdoc.exe, which did not yet
exist. I'm guessing it's because QDoc is no longer bootstrapped
(https://codereview.qt-project.org/#change,52739). The patch mentioned
making bootstrapping optional -- does that mean I can re-enable it?
If so, how?


Regards,
Sze-Howe
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Bootstrapping QDoc

2013-04-23 Thread Thiago Macieira
On terça-feira, 23 de abril de 2013 23.30.42, Sze Howe Koh wrote:
 That's not the case anymore -- calling 'make html_docs' after
 'configure' led to an attempt to run qdoc.exe, which did not yet
 exist. I'm guessing it's because QDoc is no longer bootstrapped
 (https://codereview.qt-project.org/#change,52739). The patch mentioned
 making bootstrapping optional -- does that mean I can re-enable it?
 If so, how?

It's bootstrapped only if you're cross-compiling. That's how it's optional:
it's an option made by the build.

If you're not cross-compiling, you don't need a bootstrapped qdoc or
qdbusxml2cpp. Therefore, simply build it normally.

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center


signature.asc
Description: This is a digitally signed message part.
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Bootstrapping QDoc

2013-04-23 Thread Oswald Buddenhagen
On Tue, Apr 23, 2013 at 11:30:42PM +0800, Sze Howe Koh wrote:
 Not too long ago, I was able to compile Qt's HTML documentation by
 simply running 'configure' followed by 'make html_docs'.
 
i find that hard to believe, because configure never built qdoc.

 That's not the case anymore -- calling 'make html_docs' after
 'configure' led to an attempt to run qdoc.exe, which did not yet
 exist. I'm guessing it's because QDoc is no longer bootstrapped
 (https://codereview.qt-project.org/#change,52739). The patch mentioned
 making bootstrapping optional -- does that mean I can re-enable it?
 If so, how?
 
you can run ../bin/qmake -r -config force_bootstrap in qtbase/src/
after configuring. but that still needs to be followed by make sub-qdoc.
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Bootstrapping QDoc

2013-04-23 Thread Thiago Macieira
On terça-feira, 23 de abril de 2013 18.09.58, Oswald Buddenhagen wrote:
  Not too long ago, I was able to compile Qt's HTML documentation by
  simply running 'configure' followed by 'make html_docs'.
 
 

 i find that hard to believe, because configure never built qdoc.

It wasn't configure.

doc/doc.pri had:
adp_docs.depends += sub-qdoc3 # qdoc3

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center


signature.asc
Description: This is a digitally signed message part.
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Bootstrapping QDoc

2013-04-23 Thread Oswald Buddenhagen
On Tue, Apr 23, 2013 at 09:12:39AM -0700, Thiago Macieira wrote:
 On terça-feira, 23 de abril de 2013 18.09.58, Oswald Buddenhagen wrote:
   Not too long ago, I was able to compile Qt's HTML documentation by
   simply running 'configure' followed by 'make html_docs'.
  
   
  
  i find that hard to believe, because configure never built qdoc.
 
 It wasn't configure.
 
 doc/doc.pri had:
 adp_docs.depends += sub-qdoc3 # qdoc3
 
right. that can't work any more due to the doc build being much more
complex now.
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development