Building KF5 on Qt5 now requires Phonon 5 (or no phonon at all)

Jon Severinsson jon at severinsson.net
Fri Nov 30 20:44:08 UTC 2012


At Friday 30 November 2012 19:09:26 David Faure wrote:
> On Friday 30 November 2012 17:14:15 Jon Severinsson wrote:
> > Small (but important) correction, this line should be:
> > $ cmake -DCMAKE_INSTALL_PREFIX=«installdir» 
> > -DCMAKE_SYSTEM_PREFIX_PATH=/usr:/usr/local:«installdir» ..
> 
> I don't get what /usr/local is about here.
> 
> If you install everything into $KF5, isn't it simpler to just
> pass CMAKE_PREFIX_PATH=$KF5?

Setting the CMAKE_PREFIX_PATH environment variable or the 
CMAKE_SYSTEM_PREFIX_PATH cmake variable should both work fine, I only preffer 
the later because cmake remembers it in CMakeCache.txt.

You will need /usr in there for the basic stuff (llibpng, libx11, etc).
Including /usr/local is optional, I use it because I've put some non-kde-
specific stuff (such as cmake) there. You can remove it from the wiki if you 
like.

Regards
Jon Severinsson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20121130/c00b393b/attachment.sig>


More information about the Kde-frameworks-devel mailing list