[Development] cmake files for qt5 problems with Qt5Quick/Qt5Qml modules on Mac OS X
Stephen Kelly
stephen.kelly at kdab.com
Mon Jul 2 12:33:02 CEST 2012
Hi,
Thanks for the info.
On Monday, July 02, 2012 12:14:14 Nils Jeisecke wrote:
> Hi,
>
> > Do you set CMAKE_PREFIX_PATH? To what?
>
> /Users/njeiseck/projects/qt/qt5/qtbase
> Setting "/Users/njeiseck/projects/qt/qt5" didn't work.
You need to set CMAKE_PREFIX_PATH to
"/Users/njeiseck/projects/qt/qt5/qtbase:/Users/njeiseck/projects/qt/qt5/qtdeclarative"
And possibly also list other modules too. The list in the env var is
used in a
loop like this:
for dir in list:
look for the CMake files in 'dir + "/lib/cmake"'
For the CMake files, I expected installation, which would put all of
the libs
and cmake files in the same prefix, and which would likely 'fix' the
problem.
I'm not sure how qmake handles this.
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