mirror of https://github.com/CGAL/cgal
Display scripts outputs to the std::cout
This commit is contained in:
parent
c6b9c4a349
commit
e5d0b29c40
|
|
@ -109,6 +109,7 @@ QScriptValue myPrintFunction(QScriptContext *context, QScriptEngine *engine)
|
|||
}
|
||||
|
||||
if(mw) mw->message(QString("QtScript: ") + result, "");
|
||||
QTextStream (stdout) << (QString("QtScript: ") + result) << "\n";
|
||||
|
||||
return engine->undefinedValue();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue