Commit cf1aa8e0 authored by Martin Heistermann's avatar Martin Heistermann

Fix build without Python.

parent 4a4c984c
......@@ -79,11 +79,8 @@ set (headers
../widgets/rendererWidget/renderObjectHighLighter.hh
../widgets/rendererWidget/rendererObjectWidget.hh
../widgets/rendererWidget/rendererWidget.hh
../widgets/pythonWidget/PythonSyntaxHighlighter.hh
../widgets/pythonWidget/pythonWidget.hh
../Windows/windows-startup.hh
../PythonInterpreter/PythonInterpreter.hh
../PythonInterpreter/PythonTypeConversions.hh
)
set( sources
......@@ -132,7 +129,6 @@ set( sources
../widgets/coreWidget/Help.cc
../widgets/coreWidget/LoggerHandling.cc
../widgets/coreWidget/MenuBar.cc
../widgets/coreWidget/Python.cc
../widgets/coreWidget/SideArea.cc
../widgets/coreWidget/SideElement.cc
../widgets/coreWidget/StackWidget.cc
......@@ -161,8 +157,6 @@ set( sources
../widgets/snapshotDialog/SnapshotDialog.cc
../widgets/stereoSettingsWidget/stereoSettingsWidget.cc
../widgets/postProcessorWidget/postProcessorWidget.cc
../widgets/pythonWidget/PythonSyntaxHighlighter.cc
../widgets/pythonWidget/pythonWidget.cc
../widgets/rendererWidget/TextBrowserWidget.cc
../widgets/rendererWidget/renderObjectHighLighter.cc
../widgets/rendererWidget/rendererObjectWidget.cc
......@@ -185,10 +179,15 @@ if ( PYTHON3_FOUND)
list(APPEND headers
../PythonInterpreter/PythonInterpreter.hh
../PythonInterpreter/PythonTypeConversions.hh
../widgets/pythonWidget/PythonSyntaxHighlighter.hh
../widgets/pythonWidget/pythonWidget.hh
)
list(APPEND sources
../PythonInterpreter/PythonInterpreter.cc
../widgets/pythonWidget/PythonSyntaxHighlighter.cc
../widgets/pythonWidget/pythonWidget.cc
../widgets/coreWidget/Python.cc
)
link_directories(${Python3_LIBRARY_DIRS})
......
......@@ -1233,8 +1233,9 @@ public:
//===========================================================================
public slots:
#ifdef PYTHON_ENABLED
void showPythonScriptInterpreter();
#endif
private:
/// Pointer to the about widget
......@@ -1248,6 +1249,7 @@ public:
//===========================================================================
private slots:
/// Called by Plugins to add a Toolbar
void slotAddToolbar(QToolBar* _toolbar);
/// Called by Plugins to remove a Toolbar
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment