Setting up environment variables in Qt Eclipse Integration.
I use Eclipse with Eclipse Qt Integration under Windows. I have 2 Qt projects. One is a shared library and the second is an executable which linked against this library.
So in the 2nd project's project file I must write something like this:
INCLUDEPATH += $$(1ST_PROJECT_DIR)/src
LIBS += -L$$(1ST_PROJECT_DIR)/debug -lmylib
I wonder if it is possible to define 1ST_PROJECT_DIR somewhere in the project's properties. I just don't want to define it in Windows user environment variables not to clutter them.
Or maybe there is another way link projects together.
I've found a better solution for organizing multiple projects. subdirs template in qmake helps with it!