mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-03 16:58:24 +02:00
[ui] disable QML warnings output by default
* those warnings mostly make sense in a development context * set MESHROOM_OUTPUT_QML_WARNINGS=1 to output QML warnings
This commit is contained in:
parent
b46520009f
commit
571560a43a
1 changed files with 2 additions and 0 deletions
|
@ -83,6 +83,8 @@ if __name__ == "__main__":
|
|||
engine = QmlInstantEngine()
|
||||
engine.addFilesFromDirectory(qmlDir, recursive=True)
|
||||
engine.setWatching(os.environ.get("MESHROOM_INSTANT_CODING", False))
|
||||
# whether to output qml warnings to stderr (disable by default)
|
||||
engine.setOutputWarningsToStandardError(os.environ.get("MESHROOM_OUTPUT_QML_WARNINGS", "") == "1")
|
||||
engine.addImportPath(qmlDir)
|
||||
components.registerTypes()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue