[Development] Installing Qt5Config.cmake from the Qt repo?

Alexander Neundorf neundorf at kde.org
Wed Nov 2 15:13:26 CET 2011


On Tuesday 01 November 2011, Craig.Scott at csiro.au wrote:
...
> If you do that, you create a circular dependency, since CMake requires Qt
> to build its GUI application. Yes, you could build CMake's command line
> tools only, then Qt, then build CMake's GUI app, or alternatively you
> could install some previously built CMake package before building Qt, but
> these are steps that should not be necessary. 

I don't think that's a problem.

CMake has the same issue itself, you need cmake to build cmake.
So, what you do is you can either bootstrap cmake (then first a stripped down 
version of cmake is built, which then builds the full cmake), or use an older 
version of cmake to build the new cmake.

The same could be done here.
Use cmake and cmake-gui built against Qt x.y to build Qt x.y+1.
If there is no Qt at all, cmake-gui will not be built, it is optional.

Alex



More information about the Development mailing list