QTCreator .pro file: Setting LIBS path depending on DEBUG / RELEASE
===

As a newbie to Qt I am writing a small project depending on another project, located in a parallel directory.

In my `.pro` file some `.obj` files are includes as below (which works). However, when creating a release I'd like to use the other project's release and not its debug path. I have checked the [Qt variables][1] and found the "TARGET example". But I failed to apply it to my `LIBS`, especially since the build can be for both `debug_and_release` , and I have no idea how to write the `LIBS` path then.

Pro file:

    LIBS += -L"../../OtherApp/OtherApp-build-desktop-Qt_4_8_1_for_Desktop_-_MSVC2010__Qt_SDK__Debug/debug"
    LIBS += http.obj some other obj files

"Target example":

     build_pass:CONFIG(debug, debug|release) {
     unix: TARGET = $$join(TARGET,,,_debug)
     else: TARGET = $$join(TARGET,,,d)
     }

Can I write `LIBS += -L"......."$$(TARGET)"......"` , especially if target may contain both debug and release?

  [1]: http://doc.trolltech.com/main-snapshot/qmake-variable-reference.html