[Development] cmake files for qt5 problems with Qt5Quick/Qt5Qml modules on Mac OS X

Stephen Kelly stephen.kelly at kdab.com
Mon Jul 2 15:06:34 CEST 2012


On 02.07.2012 14:35, Nils Jeisecke wrote:
> Oops, I was a little bit too fast.
>
>> 2) Developer build without install (in source build, still couldn't
>> manage to finish a working shadow build)
> The cmake run works but the actual build does not.
>
> For the cmake run it is sufficient to set CMAKE_PREFIX_PATH to qtbase
> because there it finds all the necessary Qt5QmlConfig.cmake and
> Qt5QuickConfig.cmake files.

I'm surprised that those config files are found even if you only have 
the qtbase path in your CMAKE_PREFIX_PATH.

>
> The headers that are not being copied during a developer build cause
> build errors like this:
> myheaderfile.h:4:31: error: QQuickImageProvider: No such file or 
> directory

Ok, can you post the full path of the Qt5QmlConfig.cmake you want to 
use, the full path of the Qt5CoreConfig.cmake you want to use, and the 
full path of the QQuickImageProvider you want to use?

I'm trying to understand why the existing path is 'wrong'.

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



More information about the Development mailing list