title: Using conditions when customize qt project
body: <p>Good day!
  I have a qt project and I want to customize it using .pro-file conditions. Notably, I want to use one .pro-file to get several outputs, something like that:</p>
  
  <pre><code>DEFINES += APP1=0 APP2=1
  DEFINES += TYPE=APP1
  if(TYPE == APP1) {
  LIBS += &lt;LIB1&gt;
  DESTDIR = &lt;DIR1&gt;
  }
  else {
  LIBS += &lt;LIB2&gt;
  DESTDIR = &lt;DIR2&gt;
  }
  </code></pre>
  
  <p>But when I try to build my project I get the following error when running qmake:</p>
  
  <blockquote>
    <p>Parse Error('else')</p>
  </blockquote>
  
  <p>How to do it correctly?</p>