[Qt-creator] qmake and backtick command arguments

Andrzej Telszewski atelszewski at gmail.com
Sun Feb 21 10:47:50 CET 2016


Hi,

I'm trying to do something like this in .pro file:
INCLUDEPATH += \
   `php-config --includes`

The command actually gets executed, but the "--includes" argument is not 
taken into account.

This can be seen in the compile output:
(...)
gcc: error: [OPTION]: No such file or directory
gcc: error: Options:: No such file or directory
gcc: error: [-I/usr/include/php: No such file or directory
(...)

and it means php-config was executed, but the argument to it was not 
taken into account.

qmake version: 3.0

How can I make it work as expected?
Thanks in advance!

-- 
Best regards,
Andrzej Telszewski



More information about the Qt-creator mailing list