diff installer.cpp @ 126:31435b4d9833

Build a 32-bit installer as well as 64-bit (on Windows). Requires splitting the resource file in two, otherwise the 32-bit compiler runs out of heap space!
author Chris Cannam
date Fri, 12 Jun 2020 15:13:59 +0100
parents 6dc2c2adae08
children
line wrap: on
line diff
--- a/installer.cpp	Thu Jun 11 17:19:32 2020 +0100
+++ b/installer.cpp	Fri Jun 12 15:13:59 2020 +0100
@@ -768,9 +768,15 @@
     int statusColumn = 2;
     int infoColumn = 4; // column 3 is a small sliver of spacing
 
+    QString additionalNote = "";
+    if (sizeof(char *) == 4) {
+        additionalNote = QObject::tr("(32-bit)");
+    }
+    
     selectionLayout->addWidget
-        (new QLabel(QObject::tr("<b>Vamp Plugin Pack</b> v%1")
-                    .arg(PACK_VERSION)),
+        (new QLabel(QObject::tr("<b>Vamp Plugin Pack</b> v%1 %2")
+                    .arg(PACK_VERSION)
+                    .arg(additionalNote)),
          selectionRow, titleColumn, 1, 3);
     ++selectionRow;