MCPcopy Create free account
hub / github.com/CloudCompare/CloudCompare / versionLongStr

Method versionLongStr

libs/CCAppCommon/src/ccApplicationBase.cpp:146–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144}
145
146QString ccApplicationBase::versionLongStr(bool includeOS) const
147{
148 QString verStr = m_versionStr;
149
150#if defined(CC_ENV_64)
151 const QString arch("64-bit");
152#elif defined(CC_ENV_32)
153 const QString arch("32-bit");
154#else
155 const QString arch("\?\?-bit");
156#endif
157
158 if (includeOS)
159 {
160#if defined(CC_WINDOWS)
161 const QString platform("Windows");
162#elif defined(CC_MAC_OS)
163 const QString platform("macOS");
164#elif defined(CC_LINUX)
165 const QString platform("Linux");
166#else
167 const QString platform("Unknown OS");
168#endif
169 verStr += QStringLiteral(" [%1 %2]").arg(platform, arch);
170 }
171 else
172 {
173 verStr += QStringLiteral(" [%1]").arg(arch);
174 }
175
176#ifdef QT_DEBUG
177 verStr += QStringLiteral(" [DEBUG]");
178#endif
179
180 return verStr;
181}
182
183void ccApplicationBase::setupPaths()
184{

Callers 4

ccViewerMethod · 0.80
doActionAboutMethod · 0.80
ccAboutDialogMethod · 0.80
MainWindowMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected