App: save version number of the most important libraries

This commit is contained in:
wmayer
2021-11-23 12:55:49 +01:00
parent a09e18b3bb
commit 1c6b7cca9d
2 changed files with 17 additions and 0 deletions

View File

@@ -139,6 +139,7 @@
#include <Gui/Quarter/Quarter.h>
#include "View3DViewerPy.h"
#include <Gui/GuiInitScript.h>
#include <LibraryVersions.h>
using namespace Gui;
@@ -452,6 +453,8 @@ Application::Application(bool GUIenabled)
Py_DECREF(descr);
}
App::Application::Config()["COIN_VERSION"] = COIN_VERSION;
// Python console binding
PythonDebugModule ::init_module();
PythonStdout ::init_type();