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

Stephen Kelly stephen.kelly at kdab.com
Thu Mar 22 12:21:14 CET 2012


On Thursday, March 22, 2012 11:36:35 Sergio Ahumada wrote:
> 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.cmak
> >  > > e.in
> >  > > D:\qpSOFT\Sources\Qt5\qtbase\mkspecs\cmake\Qt5ConfigVersion.cm
> >  > > ake.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)

This is unexpected. Can you send me the files?

> 
> 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.

This would be the equivalent of not installing anything from the mkspecs 
directory. Downstreams would not be able to build.

Lets fix the bug instead. 

Does this only happen on Windows?

By the way, there are unit tests for this stuff which CI is not running. Would 
it be possible to get cmake onto those CI machines so that the unit tests can 
be run and these kinds of problems can be prevented?

Thanks,

-- 
Stephen Kelly <stephen.kelly at kdab.com> | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-Independent Software Solutions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120322/fc383666/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120322/fc383666/attachment.sig>


More information about the Development mailing list