[Qt-interest] Compiling 4.6 from git repository

Thiago Macieira thiago.macieira at trolltech.com
Thu Jul 23 09:14:50 CEST 2009


Diego Schulz wrote:
>> You must configure again after generating the documentation. Due to
>> the way qmake works, the install rules aren't created if the files to
>> be installed don't exist.
>
>Obrigado Thiago. That did it, but now I wonder.. shouldn't the docs be
>built in the 'make' step, so I can later just 'make install' and
>expect *everything* installed by default?

You can expect that, in package builds.

The reason it isn't done by default is that, when we generate the 
packages, we generate the documentation for you. That's because of a 
historical reason, since we didn't use to ship the documentation sources 
prior to 4.4.0. So when you "make", you don't need to regenerate it. And 
when you "make install", it gets installed.

You have a repository build. That one doesn't have documentation built 
yet.

>As stated in configure's output:
>
>--- snip ---
>Qt is now configured for building. Just run 'make'.
>Once everything is built, you must run 'make install'.
>Qt will be installed into /usr/local/Trolltech/Qt-4.6.0
>
>To reconfigure, run 'make confclean' and 'configure'.
>--- snip ---
>
>and the line 603 in the configure script:
>
>QT_DEFAULT_BUILD_PARTS="libs tools examples demos docs translations"
>
>This is how I run configure:
>./configure -opensource -plugin-sql-psql -plugin-sql-sqlite
>
>Thank you for your time and please excuse me if I'm missing something
> obvious.

You're not... Documentation should be built according to the line you 
posted.

It's probably just not working and we haven't cared, because the 
documentation is always on the packages anyway.

-- 
Thiago Macieira - thiago.macieira (AT) nokia.com
  Senior Product Manager - Nokia, Qt Software
      Sandakerveien 116, NO-0402 Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090723/fd012e72/attachment.bin 


More information about the Qt-interest-old mailing list