kdelibs build fails with installed Qt

David Jarvie lists at astrojar.org.uk
Mon May 15 18:45:11 BST 2006


On Sunday 14 May 2006 00:00, Matt Rogers wrote:
> On Saturday 13 May 2006 17:31, David Jarvie wrote:
> > I've been getting a cmake error trying to build the latest snapshot. It
> > turns out that the problem is that I *installed* Qt after building it,
> > rather than simply using it in the build tree, and the kdelibs cmake
> > system doesn't cope with that.
>
> It certainly does handle that, as I do it all the time.
>
> > I had to fiddle things a bit to try to get it to work, so I don't know
> > exactly what is necessary to fix the build. But the kdelibs cmake build
> > process seems to use at least two Qt components which are currently not
> > installed in the Qt install process. (I used the following command line
> > to install Qt, so as to omit the Qt examples:
> >
> > make sub-src-install_subtargets sub-tools-install_subtargets
> > install_htmldocs
>
> you need to add 'install_mkspecs' and 'install_qmake' to that as well so
> that your installation becomes:
>
> 'make sub-src-install_subtargets sub-tools-install_subtargets
> install_htmldoc install_mkspecs install_qmake'
>
> > I couldn't find any other install target to rectify things.)
>
> grep 'install' Makefile from the toplevel qt-copy directory works quite
> well for finding those. :)

I did that, but somehow missed install_mkspecs and install_qmake.

Thanks.

-- 
David Jarvie.




More information about the kde-core-devel mailing list