diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-01-20 13:38:50 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-01-21 14:02:13 +0100 |
commit | f622232bcf8ebc7398f4c8988711155c22705fd4 (patch) | |
tree | 8ab9d8cc0bba7051f94f3e77817191e770304383 /src/qt | |
parent | 77a1607ce859da8a425b5c27c2b75d45ac795ebb (diff) |
gitian: Windows 64 bit support
- Build a 64 bit version of all dependencies
- Show 32/64 bit version in "About..." for x86
- Export 64-bit .exes and installer from gitian build
Diffstat (limited to 'src/qt')
-rw-r--r-- | src/qt/utilitydialog.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/qt/utilitydialog.cpp b/src/qt/utilitydialog.cpp index 05a01c7445..a96b9d6c0b 100644 --- a/src/qt/utilitydialog.cpp +++ b/src/qt/utilitydialog.cpp @@ -33,7 +33,16 @@ void AboutDialog::setModel(ClientModel *model) { if(model) { - ui->versionLabel->setText(model->formatFullVersion()); + QString version = model->formatFullVersion(); + /* On x86 add a bit specifier to the version so that users can distinguish between + * 32 and 64 bit builds. On other architectures, 32/64 bit may be more ambigious. + */ +#if defined(__x86_64__) + version += " (64-bit)"; +#elif defined(__i386__ ) + version += " (32-bit)"; +#endif + ui->versionLabel->setText(version); } } |