[Qt-interest] set INCLUDEPATH in .pro (qt4.5, visual studio express 2008)

Sean Harmer sean.harmer at maps-technology.com
Fri Mar 27 08:52:44 CET 2009


Hi,

On Friday 27 March 2009 07:32:10 Yixun Liu wrote:
> Hi,
> How to set INCLUDEPATH in .pro on windows?
>
> For example,
> INCLUDEPATH = D:\MyVC\vtk521\Common \
>               D:\MyVC\vtk521\Filtering \
>               D:\MyVC\vtk521\GUSupport
>
> I use qmake to generate dsw. However when I check additional path in VS
> express 2008, the path is not correct.
Try it using forward slashes in the paths and normally better to use += to 
avoid overwriting earlier uses. i.e.:

INCLUDEPATH += D:/MyVC/vtk521/Common \
               D:/MyVC/vtk521/Filtering \
               D:/MyVC/vtk521/GUSupport

Sean




More information about the Qt-interest-old mailing list