Skip to content
Snippets Groups Projects
Commit 04093c9a authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Import PythonQt at startup

parent 54c977fd
No related branches found
No related tags found
No related merge requests found
......@@ -46,6 +46,7 @@ namespace gepetto {
PythonQtObjectPtr mainContext = PythonQt::self()->getMainModule();
PythonQtObjectPtr sys = PythonQt::self()->importModule ("sys");
sys.evalScript ("argv = ['gepetto-gui']");
mainContext.evalScript ("import PythonQt");
console_ = new PythonQtScriptingConsole(NULL, mainContext);
PythonQt::self()->registerQObjectClassNames(QStringList()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment