Hello,

I am trying to write a conditional expression on my .pro file:

Qt Code:
  1. DEFINES += MIKRODIAGRAM_EDITOR
  2. contains(DEFINES, MIKRODIAGRAM_EDITOR) {
  3. SUBDIRS += diagramEditor
  4. warning(DiagramEditor Plugin activated)
  5. }
  6. else{
  7. SUBDIRS += scadaEditor
  8. warning(ScadaEditor Plugin activated)
  9. }
To copy to clipboard, switch view to plain text mode 

On Qt Creator(3.1) output console , I see only "DiagramEditor Plugin activated" text as it should. But Qt Creator adds both "diagramEditor" and "scadaEditor" folders to the project tree. Is this a bug or something else?

Thanks in advance...