Initial support for kde_projects.xml in kdesrc-build

Andreas Pakulat apaku at gmx.de
Fri Feb 4 06:04:28 GMT 2011


On 04.02.11 00:33:58, David Faure wrote:
> On Wednesday 02 February 2011, Alexander Neundorf wrote:
> > On Wednesday 02 February 2011, Michael Pyne wrote:
> > ...
> > 
> > > e.g. worrying about environment variables like PKG_CONFIG_PATH is no idle
> > > claim (kdesrc-build sets that as well), along with PATH in order to pick
> > > up the right Qt version.
> > 
> > Please try to use only CMAKE_PREFIX_PATH instead of setting PATH. I
> > recommend  this to everybody.
> 
> How does this help finding *Qt*?
> 
> We find Qt via `qmake`, so $PATH matters.

We find Qt via find_program() which _first_ looks into all paths listed
in CMAKE_PREFIX_PATH/bin and then later into PATH.

Andreas

-- 
You will be the last person to buy a Chrysler.




More information about the kde-core-devel mailing list