title: How to write conditional import statements in QML?
body: <p>Like we have preprocessor directives in C++ for conditional includes. </p>
  
  <p>Similarly, how to do conditional <code>import</code>ing  in QML?</p>
  
  <pre><code>if x  
      import ABC 1.0  
  else  
      import PQR 2.0  
  </code></pre>