[Interest] How to read Qmake .pro file built-in variables

Samuel Gaist samuel.gaist at edeltech.ch
Thu Sep 25 15:15:35 CEST 2014


On 25 sept. 2014, at 15:04, rap <rap at dlc.fi> wrote:

> Is there a way to read the contents of the qmake project file (.pro) built-in variables, specially the "TARGET" variable?  I'm doing 
> a bunch of small examples and getting the TARGET (.exe) name to my QWindow class would help to pass the name to setTitle() 
> consistently and automatically.
> 
> Thanks,
> /Risto 
> 

Hi,

What about QCoreApplication::applicationName() ?


More information about the Interest mailing list