Be more precise about arch the build is for

Correct and simplify according to docs:
https://doc.qt.io/qt-6/qtprocessordetection.html

We only build for 64-bit cpu's
This commit is contained in:
tooomm 2026-07-08 11:27:45 +02:00
parent f898295423
commit 94b64b8775

View file

@ -13,10 +13,10 @@
#include <QTextStream>
#include <QVector>
#if defined(Q_PROCESSOR_X86_64)
#define BUILD_ARCHITECTURE "64-bit"
#if defined(Q_PROCESSOR_X86)
#define BUILD_ARCHITECTURE "x64"
#elif defined(Q_PROCESSOR_ARM)
#define BUILD_ARCHITECTURE "ARM"
#define BUILD_ARCHITECTURE "arm64"
#else
#define BUILD_ARCHITECTURE "unknown"
#endif