[Development] Relative paths in EXAMPLE_FILES in .pro files

Thiago Macieira thiago.macieira at intel.com
Sat Aug 2 18:19:16 CEST 2014


On Friday 01 August 2014 16:45:16 Sumedha Widyadharma wrote:
> Hi,
> 
> This seems to be forbidden in a .pro file:
> 
> EXAMPLE_FILES += ../some/file
> 
> what is the rationale behind not allowing this?

Why is it forbidden?

> It is silently dropped, you have to enable CONFIG+=check_examples to get
> a notice about this. Why is that?

About what?

You can assign any value to any variable you want in qmake. Whether you make 
use of the variable or not, it's up to you.

> Shouldn't it always warn the user?

About what?

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list