[Qt-creator] qmake and backtick command arguments

Konstantin Tokarev annulen at yandex.ru
Sun Feb 21 11:46:08 CET 2016



21.02.2016, 13:34, "Nikos Chantziaras" <realnc at gmail.com>:
> On 21/02/16 11:47, Andrzej Telszewski wrote:
>>  Hi,
>>
>>  I'm trying to do something like this in .pro file:
>>  INCLUDEPATH += \
>>     `php-config --includes`
>
> Try the system() function in combination with the "$$" operator (for
> variable expansion):
>
>    INCLUDEPATH += $$system(php-config --includes)

Note that in this case command will run when qmake is executed, not make.

-- 
Regards,
Konstantin



More information about the Qt-creator mailing list