> > Thanks for reporting! Can you confirm that the equivalent happens when you > use > find_package(Qt5Core REQUIRED) > ?
Sure, thanks for responding and looking into this! The equivalent does occur with Qt5Core, and in several other Qt modules (I would guess it happens with all of the ones I use based on the contents of /include. 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? The configure command I used was: ./configure -prefix $install_dir -release -opensource -confirm-license -shared -nomake examples -nomake demos -nomake docs -no-c++11 -platform macx-clang The missing paths definitely do not exist. The contents of /include are: QtOpenGLExtensions QtPlatformSupport QtUiTools It seems like the headers are all located at: lib/<module_name>.framework/Headers rather than in include. I haven't checked but perhaps configuring with -no-framework would put them in the location that the CMake script expects, though -framework is the default configuration. Let me know if there's anything else I can help with. Best, Daiwei On Sat, Jun 8, 2013 at 12:45 AM, Stephen Kelly <[email protected]>wrote: > 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? > > Thanks, > > -- > Stephen Kelly <[email protected]> | 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
_______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
