[Development] Getting build flags for platforms without pkg-config

Thiago Macieira thiago.macieira at intel.com
Mon Oct 30 23:36:58 CET 2017


On segunda-feira, 30 de outubro de 2017 15:03:33 PDT Konstantin Tokarev wrote:
> > The two important details, though:
> > 1) pkg-config is a standardised file format, the .pri isn't
> 
> Also there is a possibility that in future qmake will be removed, and there
> will be no more .pri files.

Nothing is stopping us from keeping .pri files even after that.

> > 2) the .pri file has the list of plugin types, to help static building and
> > the *deployqt tools.
> 
> Missing information like this can be added to .pc as custom variables, which
> could be queried via pkg-config (or parsed directly from .pc).

Right.

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




More information about the Development mailing list