mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4300 About Dialog : Add octave version info
This commit is contained in:
parent
be6b82ab0e
commit
47bdf22f1d
@ -26,3 +26,5 @@
|
|||||||
// Externally shipped versions should have even build numbers
|
// Externally shipped versions should have even build numbers
|
||||||
#define PRODUCTVER "@PRODUCTVER@"
|
#define PRODUCTVER "@PRODUCTVER@"
|
||||||
#define STRPRODUCTVER "@STRPRODUCTVER@"
|
#define STRPRODUCTVER "@STRPRODUCTVER@"
|
||||||
|
|
||||||
|
#define RESINSIGHT_OCTAVE_VERSION "@OCTAVE_VERSION_STRING@"
|
||||||
|
@ -18,8 +18,9 @@
|
|||||||
|
|
||||||
#include "RicHelpFeatures.h"
|
#include "RicHelpFeatures.h"
|
||||||
|
|
||||||
#include "RiaBaseDefs.h"
|
|
||||||
#include "RiaApplication.h"
|
#include "RiaApplication.h"
|
||||||
|
#include "RiaBaseDefs.h"
|
||||||
|
#include "RiaVersionInfo.h"
|
||||||
|
|
||||||
#include "RiuMainWindow.h"
|
#include "RiuMainWindow.h"
|
||||||
|
|
||||||
@ -87,6 +88,7 @@ void RicHelpAboutFeature::onActionTriggered(bool isChecked)
|
|||||||
dlg.addVersionEntry(" ", QString(" Qt ") + qVersion());
|
dlg.addVersionEntry(" ", QString(" Qt ") + qVersion());
|
||||||
dlg.addVersionEntry(" ", QString(" ") + caf::AboutDialog::versionStringForcurrentOpenGLContext());
|
dlg.addVersionEntry(" ", QString(" ") + caf::AboutDialog::versionStringForcurrentOpenGLContext());
|
||||||
dlg.addVersionEntry(" ", caf::Viewer::isShadersSupported() ? " Hardware OpenGL" : " Software OpenGL");
|
dlg.addVersionEntry(" ", caf::Viewer::isShadersSupported() ? " Hardware OpenGL" : " Software OpenGL");
|
||||||
|
dlg.addVersionEntry(" ", QString(" Octave ") + QString(RESINSIGHT_OCTAVE_VERSION));
|
||||||
|
|
||||||
if (RiaApplication::enableDevelopmentFeatures())
|
if (RiaApplication::enableDevelopmentFeatures())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user