Hi,

I know that a lot of people have problems concerning spaces in namefiles (especially under windows) when doing a .pro.

In general, it is possible to handle it by using quotes but I can't do it for the needed librairies

Any suggestion?


My example:

Qt Code:
  1. MAYA_LOCATION="C:/Program Files/Autodesk/Maya2009"
  2. INCLUDEPATH += "$$MAYA_LOCATION/include"
  3. QMAKE_LIBDIR += "$$MAYA_LOCATION/lib"
  4. LIBS += -lOpenMaya -lOpenMayaFX -lFoundation -lOpenMayaAnim -lOpenMayaUI
To copy to clipboard, switch view to plain text mode 

the resulting include path in the visual studio project is ok
the additional path for the linker is also ok
BUT
the input of the linker is :

Qt Code:
  1. c:\Program
  2. Files\Autodesk\Maya2009\lib\OpenMaya.lib
  3. Files\Autodesk\Maya2009\lib\OpenMayaFX.lib
  4. Files\Autodesk\Maya2009\lib\Foundation.lib
  5. Files\Autodesk\Maya2009\lib\OpenMayaAnim.lib
  6. Files\Autodesk\Maya2009\lib\OpenMayaUI.lib
To copy to clipboard, switch view to plain text mode 

Do you know how can I add quote or something else to handle this situation (without reinstalling maya ^^)

Thanks.

pium