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

Alexander Neundorf neundorf at kde.org
Mon Dec 3 17:02:18 UTC 2012


On Friday 30 November 2012, Jon Severinsson wrote:
> 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.

In general I'd recommend to stay away from the variables which have SYSTEM in 
the name, they are mostly not intended for users to be modified.
Use CMAKE_PREFIX_PATH.

Alex


More information about the Kde-frameworks-devel mailing list