# HG changeset patch # User Teemu Piippo # Date 1656428571 -10800 # Node ID f071ec94c0220f1e2fcba5c83ba5cd768debf2e1 # Parent 42b4953dff8582a9b434e366e39402efd076fd41 Add GLM version string to about page diff -r 42b4953dff85 -r f071ec94c022 src/about.ui --- 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 @@ </style></head><body style=" font-family:'EPSONEXT 丸ゴシック体M'; font-size:11pt; font-weight:400; font-style:normal;"> <h1 style=" margin-top:18px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><img src=":/icons/appicon.png" height="64" /><span style=" font-size:xx-large; font-weight:600;"> %APPNAME% %VERSION%</span></h1> <p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Qt version: %QTVERSION%</p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">%GLMVERSIONSTRING%</p> <p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Build type: %BUILDTYPE%</p> <p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Compiler: %COMPILER_ID% %COMPILER_VERSION%</p> <p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Compiler system: %COMPILER_SYSTEM% (%COMPILER_CPU%)</p> diff -r 42b4953dff85 -r f071ec94c022 src/main.cpp --- 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));