mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:15:35 +08:00
Ref T203, platform guessing no longer required here (=> CPlatform)
Timestamp conversion to 4th segment can be used from elsewhere
This commit is contained in:
@@ -140,14 +140,13 @@ namespace BlackConfig
|
||||
//! Build ABI parts as in http://doc.qt.io/qt-5/qsysinfo.html#buildAbi
|
||||
static const QStringList &getBuildAbiParts();
|
||||
|
||||
//! Turn build timestamp into 4th version segment
|
||||
static int buildTimestampAsVersionSegment(const QDateTime &buildTimestamp);
|
||||
|
||||
//! Whether this swift application is build as 32 or 64bit application
|
||||
//! \returns 32, 64 or -1 (in case no info is possible)
|
||||
static int buildWordSize();
|
||||
|
||||
//! The platform string used for updates etc.
|
||||
//! \remark ideally no such guess would be needed, but it is used as default value
|
||||
static QString guessMyPlatformString();
|
||||
|
||||
private:
|
||||
//! Major version
|
||||
static int versionMajor(); // defined in buildconfig_gen.cpp.in
|
||||
|
||||
Reference in New Issue
Block a user