I am trying to use boost in an QT Eclipse Integration project. I got an example to compile, but the indexer see the boost directory.
Here's my .pro file:
Qt Code:
TEMPLATE = app TARGET = qtest BOOST_VER = 1_45_0 QT += core gui INCLUDEPATH += "$$(BOOST)/include/boost-$$BOOST_VER" LIBS += -L"$$(BOOST)/lib/boost-$$BOOST_VER" HEADERS += qtest.h SOURCES += main.cpp \ qtest.cpp FORMS += qtest.ui RESOURCES +=To copy to clipboard, switch view to plain text mode
BOOST is an environment variable pointing to the boost directory, and I would like to use that variable everywhere I reference it.
How can I make the indexer see the boost dir? In other words, how do I use this environment variable in Project->Properties->C++ Include paths and symbols?
Regards,
Kris
Bookmarks