yagabey
17th May 2014, 23:31
Hello,
I am trying to write a conditional expression on my .pro file:
DEFINES += MIKRODIAGRAM_EDITOR
contains(DEFINES, MIKRODIAGRAM_EDITOR) {
SUBDIRS += diagramEditor
warning(DiagramEditor Plugin activated)
}
else{
SUBDIRS += scadaEditor
warning(ScadaEditor Plugin activated)
}
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...
I am trying to write a conditional expression on my .pro file:
DEFINES += MIKRODIAGRAM_EDITOR
contains(DEFINES, MIKRODIAGRAM_EDITOR) {
SUBDIRS += diagramEditor
warning(DiagramEditor Plugin activated)
}
else{
SUBDIRS += scadaEditor
warning(ScadaEditor Plugin activated)
}
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...