#4300 About Dialog : Add octave version info

This commit is contained in:
Magne Sjaastad 2019-04-08 09:18:55 +02:00
parent be6b82ab0e
commit 47bdf22f1d
2 changed files with 5 additions and 1 deletions

View File

@ -26,3 +26,5 @@
// Externally shipped versions should have even build numbers
#define PRODUCTVER "@PRODUCTVER@"
#define STRPRODUCTVER "@STRPRODUCTVER@"
#define RESINSIGHT_OCTAVE_VERSION "@OCTAVE_VERSION_STRING@"

View File

@ -18,8 +18,9 @@
#include "RicHelpFeatures.h"
#include "RiaBaseDefs.h"
#include "RiaApplication.h"
#include "RiaBaseDefs.h"
#include "RiaVersionInfo.h"
#include "RiuMainWindow.h"
@ -87,6 +88,7 @@ void RicHelpAboutFeature::onActionTriggered(bool isChecked)
dlg.addVersionEntry(" ", QString(" Qt ") + qVersion());
dlg.addVersionEntry(" ", QString(" ") + caf::AboutDialog::versionStringForcurrentOpenGLContext());
dlg.addVersionEntry(" ", caf::Viewer::isShadersSupported() ? " Hardware OpenGL" : " Software OpenGL");
dlg.addVersionEntry(" ", QString(" Octave ") + QString(RESINSIGHT_OCTAVE_VERSION));
if (RiaApplication::enableDevelopmentFeatures())
{