[Qt-interest] How to add path of Boost?
Wm. G. Urquhart
wgu at wurquhart.co.uk
Wed Nov 18 17:08:03 CET 2009
Matthias Pospiech wrote:
> I have boost in the directory
> E:/Daten/Dev/SVN/library/source/boost_1_40_0
>
> If I add
> INCLUDEPATH += ..\boost_1_40_0 E:/Daten/Dev/SVN/library/source/boost_1_40_0
>
> to the .pro file it is still not found with
> #include <boost/regex.hpp>
>
> So how do I add a system libary such as boost to a .pro project?
>
Hi Matthias
I use:
win32:INCLUDEPATH += "C:/Program Files (x86)/boost/boost_1_39_0/"
unix:INCLUDEPATH += /usr/local/include/boost
HTH
--
William
More information about the Qt-interest-old
mailing list