Add GLM version string to about page

Tue, 28 Jun 2022 18:02:51 +0300

author
Teemu Piippo <teemu.s.piippo@gmail.com>
date
Tue, 28 Jun 2022 18:02:51 +0300
changeset 292
f071ec94c022
parent 291
42b4953dff85
child 293
9f85a54ead29

Add GLM version string to about page

src/about.ui file | annotate | diff | comparison | revisions
src/main.cpp file | annotate | diff | comparison | revisions
--- a/src/about.ui	Tue Jun 28 17:59:34 2022 +0300
+++ b/src/about.ui	Tue Jun 28 18:02:51 2022 +0300
@@ -36,6 +36,7 @@
 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'EPSONEXT 丸ゴシック体M'; font-size:11pt; font-weight:400; font-style:normal;&quot;&gt;
 &lt;h1 style=&quot; margin-top:18px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;img src=&quot;:/icons/appicon.png&quot; height=&quot;64&quot; /&gt;&lt;span style=&quot; font-size:xx-large; font-weight:600;&quot;&gt; %APPNAME% %VERSION%&lt;/span&gt;&lt;/h1&gt;
 &lt;p style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Qt version: %QTVERSION%&lt;/p&gt;
+&lt;p style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;%GLMVERSIONSTRING%&lt;/p&gt;
 &lt;p style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Build type: %BUILDTYPE%&lt;/p&gt;
 &lt;p style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Compiler: %COMPILER_ID% %COMPILER_VERSION%&lt;/p&gt;
 &lt;p style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Compiler system: %COMPILER_SYSTEM% (%COMPILER_CPU%)&lt;/p&gt;
--- a/src/main.cpp	Tue Jun 28 17:59:34 2022 +0300
+++ b/src/main.cpp	Tue Jun 28 18:02:51 2022 +0300
@@ -394,6 +394,7 @@
 			.replace("%COMPILER_FLAGS%", CMAKE_CXX_FLAGS)
 			.replace("%COMPILER_CPU%", CMAKE_SYSTEM_PROCESSOR)
 			.replace("%COMPILER_SYSTEM%", CMAKE_SYSTEM)
+			.replace("%GLMVERSIONSTRING%", GLM_VERSION_MESSAGE)
 		);
 	}
 	dialog.setWindowTitle(QObject::tr("About %1").arg(CMAKE_PROJECT_NAME));

mercurial