Commit 470f345e authored by Jan Möbius's avatar Jan Möbius

Build without python support

parent 34ffc272
......@@ -50,6 +50,7 @@
#include "pythonWidget.hh"
#include "PythonSyntaxHighlighter.hh"
#include <OpenFlipper/common/GlobalOptions.hh>
#include <OpenFlipper/BasePlugin/PythonFunctionsCore.hh>
#include <iostream>
#include <QObject>
......@@ -79,6 +80,7 @@ PythonWidget::PythonWidget(QWidget *parent )
connect( closeButton , SIGNAL(clicked() ) , this, SLOT(hide()) );
closeButton->setFocus();
#ifdef PYTHON_ENABLED
pythonInfo->setAlignment(Qt::AlignLeft);
pythonInfo->append("Plugins with Python support (use import to load the corresponding module!):\n");
......@@ -104,7 +106,7 @@ PythonWidget::PythonWidget(QWidget *parent )
edit->setHtml(data);
}
#endif
}
......
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