[Qt-creator] qmake and backtick command arguments
realnc at gmail.com
Mon Feb 22 09:54:03 CET 2016
On 22/02/16 10:45, Andrzej Telszewski wrote:
> On 22/02/16 09:39, Ziller Eike wrote:
>>> This yields yet another inconvenience. Using QMAKE_CFLAGS allows
>>> application to compile fine, but header files are not seen by Qt
>>> Creator and so cannot be nicely navigated.
>> Looks like Qt Creator handles QMAKE_CXXFLAGS, but not QMAKE_CFLAGS.
>> Br, Eike
> OK, now I understand what you meant.
> This works for navigation/browsing:
> QMAKE_CXXFLAGS += $$system(php-config --includes)
> but this, does not work:
> QMAKE_CFLAGS += $$system(php-config --includes)
INCLUDEPATH sets both of these automatically.
More information about the Qt-creator