Commit 489f50aa authored by Jan Möbius's avatar Jan Möbius

OpenFlipper Main file includes for python support

parent abdf4114
......@@ -66,6 +66,10 @@
#include <execinfo.h>
#endif
#ifdef PYTHON_ENABLED
#include <PythonInterpreter/PythonInterpreter.hh>
#endif
#ifdef USE_OPENMP
#endif
......@@ -764,6 +768,9 @@ int main(int argc, char **argv)
// create core ( this also reads the ini files )
Core * w = new Core( );
#ifdef PYTHON_ENABLED
setCorePointer(w);
#endif
QString tLang = OpenFlipperSettings().value("Core/Language/Translation","en_US").toString();
......@@ -820,6 +827,11 @@ int main(int argc, char **argv)
// create widget ( this also reads the ini files )
Core * w = new Core( );
#ifdef PYTHON_ENABLED
setCorePointer(w);
#endif
// After setting all Options from command line, build the real gui
w->init();
......
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