From the Qt docs
Scopes are similar to if statements in procedural programming languages. If a certain condition is true, the declarations inside the scope are processed.
So your scope says that if the OS is win32 compile with debug and release libraries.

Try something like this:
Qt Code:
  1. CONFIG += debug
  2.  
  3. win32 {
  4. CONFIG(debug) {
  5. LIBS += -L../trialLibA/debug
  6. PRE_TARGETDEPS += ../trialLibA/debug/libtrialLibA.a
  7. } else {
  8. LIBS += -L../trialLibA/release
  9. PRE_TARGETDEPS += ../trialLibA/release/libtrialLibA.a
  10. }
  11. }
To copy to clipboard, switch view to plain text mode