QTfrontend/ui/widget/about.cpp
changeset 13915 6c8d4e140f27
parent 12902 fc47fc4af6bd
child 14199 e60e2e7dd43a
--- a/QTfrontend/ui/widget/about.cpp	Sun Oct 14 21:25:59 2018 +0300
+++ b/QTfrontend/ui/widget/about.cpp	Sun Oct 14 21:57:30 2018 +0300
@@ -100,12 +100,16 @@
     //: For the version numbers of Hedgewars' software dependencies
     QString libinfo = QString(tr("Dependency versions:") + QString("<br>"));
 
-#ifdef __GNUC__
+#if defined(__GNUC__)
     libinfo.append(QString(tr("<a href=\"https://gcc.gnu.org\">GCC</a>: %1")).arg(__VERSION__));
+#elif defined(WIN32_VCPKG)
+    libinfo.append(QString(tr("<a href=\"https://visualstudio.microsoft.com\">VC++</a>: %1")).arg(_MSC_FULL_VER));
+#elif defined(__VERSION__)
+    libinfo.append(QString(tr("Unknown Compiler: %1")).arg(__VERSION__));
+#else 
+    libinfo.append(QString(tr("Unknown Compiler")));
+#endif
     libinfo.append(QString("<br>"));
-#else
-    libinfo.append(QString(tr("Unknown Compiler")).arg(__VERSION__) + QString("<br>"));
-#endif
 
     const SDL_version *sdl_ver;
     SDL_version sdl_version;