[Development] OSX CMake broken in 5.1.1

Stephen Kelly stephen.kelly at kdab.com
Sat Jun 8 09:45:49 CEST 2013

On Friday, June 07, 2013 14:18:49 Daiwei Li wrote:
> Hello,
> I recently my version of Qt to 5.1.1 and it seems to have broken CMake on
> OSX. I get the following error message:
> >   The imported target "Qt5::Widgets" references the file
> >  
> >  "/Users/daiweili/.bacon/thirdparty/qt/9d86cdfb2d648428afd462d5062571b5ade
> >  f377c-osx/lib/QtWidgets.framework/QtWidgets/5.1.1">  
> >   but this file does not exist.

> It seems that frameworks on OSX breaks some assumptions about where files
> should be located. 

Thanks for reporting! Can you confirm that the equivalent happens when you use 

 find_package(Qt5Core REQUIRED)


What flags did you pass to configure Qt? Can you confirm that the paths 
referenced in Qt5Core_PRIVATE_INCLUDE_DIRS do not exist? Where actually are 
the private headers?

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 --------------
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/20130608/998e5520/attachment.sig>

More information about the Development mailing list