In order to include some linux kernel .h files in my app, I'd like to add the following to my INCLUDEPATH in the .pro file:

INCLUDEPATH += /usr/src/kernels/$(shell uname -r)/include

Unfortunately what appears in the Makefile is this:

-I/usr/src/kernels/$(shell\ uname\ -r)/include

qmake is escaping the spaces which is causing the "shell uname -r" to not work within make. Placing the string in double quotes resolves the escaping issue, but also causes qmake to treat spaces as a delimiter and thus preface everything with a -I.

Is there a way to get around this w/qmake 2.01a?

Thanks for any help,
Mark