Salome HOME
CMake improvement: usage of SALOME_GUI_MODE() macro
[samples/hello.git] / src / HELLOGUI / HELLOGUI.cxx
index ee8e63b23573616f7ab42e9e3f12e7778175eaed..27a0e401fb09e422fa119efbf5cacd155805dfe1 100644 (file)
@@ -256,9 +256,11 @@ void HELLOGUI::windows( QMap<int, int>& theMap ) const
   // want Object browser, in the left area
   theMap.insert( SalomeApp_Application::WT_ObjectBrowser,
                 Qt::LeftDockWidgetArea );
+#ifndef DISABLE_PYCONSOLE
   // want Python console, in the bottom area
   theMap.insert( SalomeApp_Application::WT_PyConsole,
                 Qt::BottomDockWidgetArea );
+#endif
 }
 
 /*!