title: qmake is not reading my .pro correctly
body: <p>Recently I notice a compilation problem in one of my projects (see some comments about it <a href="https://stackoverflow.com/questions/23880347/strange-type-of-multiple-definition-of-error">here</a>, but notice it's not necessary to read that post). After some work, I did managed to find the problem: it would seem my qmake is not reading my .pro file accordingly, more specifically in a given moment where a include some specific libs under "debug" or "release" scope:</p>
  
  <pre><code>win32 {
      LIBS += -lpsapi
  
      debug {
          LIBS += C:/Qt/Qwt-6.1.0/lib/qwtd.dll \
              $${MLOGGER}/build/debug/mLogger.dll \      
              $${MSHARE_LIB}/build/debug/mShareLib.dll  
          DEFINES += DEBUG
      }
  
      release {
          LIBS += C:/Qt/Qwt-6.1.0/lib/qwt.dll \
              $${MLOGGER}/build/release/mLogger.dll \
              $${MSHARE_LIB}/build/release/mShareLib.dll
          DEFINES += RELEASE \
             QT_NO_DEBUG \
             QT_NO_DEBUG_OUTPUT
      }
  } # win32
  </code></pre>
  
  <p>In accordance to the Qt Assistant, the above code should be valid. Here is one of the examples of nested scopes that Qt Assistant provides as a valid code:</p>
  
  <pre><code>win32 {
      debug {
          CONFIG += console
      }
  }
  </code></pre>
  
  <p>What could be wrong? :( I have no idea. I don't remember finding any configuration in Qt Creator or somewhere else where such "qmake feature" was disabled.</p>
  
  <p>I'm glad for any help.</p>
  
  <p>Momergil</p>