qmake escapes spaces within environment variables
- 
I have a linux environment variable defined as: export GMT_LIBS='-L/bogusDir -lgmt'I want to access MYLIBS from within my .pro file and add it to the LIBS variable: gmtLibs = $$getenv("GMT_LIBS") LIBS += $gmtLibsBut when qmake is generating a Makefile, it escapes the space within GMT_LIBS with back-slash, so the Makefile contains: LIBS = $(SUBLIBS) -L/bogusDir\ -lgmtWhen ‘make’ processes this Makefile, it does not link with library -lgmt, so results in “undefined reference” errors. If I manually edit the Makefile and remove the ‘\’ preceding -lgmt, then rerun ‘make’, it links properly. I get the same escaped space in the Makefile if the .pro file accesses environment variable with this instead of getenv(): LIBS += $$(GMT_LIBS)So how do I convince qmake not to escape spaces within environment variables? Thanks! 
- 
Since these are two parameters but you treat it as one I would go with split() 
- 
Since these are two parameters but you treat it as one I would go with split() 
 

