[Interest] Custom .prf files for QMake in project root?
thiago.macieira at intel.com
Sun Aug 17 18:28:34 CEST 2014
On Sunday 17 August 2014 18:23:13 Elvis Stansvik wrote:
> 1) What is this cache file? I can't remember ever seeing that on Linux or
It's a file called .qmake.cache. There are lots of those in the Qt build.
> 2) Why is QMake only loading the .prf files in the project root if there's
> a cache file? It seems an arbitrary limitation to me, but perhaps I'm
> missing something?
I think the question you're missing is this: how does qmake know that a
particular directory is the project root?
> AFAICS this makes it impossible to ship custom .prf files with your project
> and rely on them being loaded by QMake
Why? Why can't you create the .qmake.cache file?
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest