[Development] Why we need some CMake file of Build Or Install Qt?

Sergio Ahumada sergio.ahumada at nokia.com
Thu Mar 22 11:36:35 CET 2012


On 03/22/2012 11:15 AM, ext Stephen Kelly wrote:
> On Thursday, March 22, 2012 11:14:22 Stephen Kelly wrote:
>  > On Thursday, March 22, 2012 10:05:40 Loaden wrote:
>  > > D:\cmake\Qt5\Qt5Config.cmake
>  > > D:\cmake\Qt5\Qt5ConfigVersion.cmake
>  > > D:\qpSOFT\Sources\Qt5\qtbase\mkspecs\cmake\Qt5BasicConfig.cmake.in
>  > > D:\qpSOFT\Sources\Qt5\qtbase\mkspecs\cmake\Qt5ConfigVersion.cmake.in
>  > > ...
>
>  > There are two odd things here: The file shouldn't be named
> Qt5Config.cmake,
>
>  > and the location shouldn't be D:\.
>  > Can you tell me what the installation prefix is?
>  > How did you build Qt? Using qt5.git?
>  > Do you have cmake files in your build directory too?
>  >
>  > Can you send me the generated files?
>  >
>
> Oh, and can anyone else on this mailing list confirm the same bug?
>
> Thanks,

Hi,

I hit the same thing a while ago when testing Qt5 and yes, you get the 
files under (in my case) E:\cmake\Qt5 (E:\cmake\Qt5\Qt5Config.cmake, 
E:\cmake\Qt5\Qt5ConfigVersion.cmake, etc)

I really think that this should be disabled by default and just enabled 
with some kind of -create-those-cmake-files-that-are-so-annoying option.

Cheers,
-- 
Sergio Ahumada



More information about the Development mailing list