[Qt-interest] Qt public headers in repository

Rohan McGovern rohan.mcgovern at nokia.com
Fri Jun 19 00:39:48 CEST 2009


On Friday 19 June 2009, ext Roman V. Kiseliov wrote:
> Hello,
>
> I cloned Qt repository (git://gitorious.org/qt/qt.git). I
> checkout 'origin/4.5' branch to build Qt,
> HEAD=75e8aaae5e8a0cbaa62fd4cd2a8235544f974a73. But building
> stopped with error because there is no public headers in repo.
> Then I tried public headers from 4.5.1 with no success finally.
> Exactly, build was stopped with error when compiling uic.
> Configure, qmake, moc, rcc was successfully built.
>
> Please advice me where I can find public Qt headers (usually
> located in '$(QTDIR)/include') to build Qt from source contained
> in repository. I'm using VS2008SP1 under Windows XP Prof x64 if
> it matters.

Hi,

The headers under `include' are generated files.  They are generated 
by the `bin/syncqt' perl script.  We include them in our source 
packages but it doesn't make sense to put them in the git repo.

To build from git, you need to make sure syncqt is run.  You need 
perl installed to do this (suggest ActivePerl on Windows).  Then 
either run syncqt manually, or configure Qt with 
the -developer-build option (which runs syncqt for you).

Also, if you follow the git repo, make sure you run syncqt 
periodically to pick up any headers added/removed to the repo.

-- 
Rohan McGovern
Qt Software, Nokia



More information about the Qt-interest-old mailing list