MantisBT - Doomseeker
View Issue Details
0003581Doomseeker[All Projects] Bugpublic2018-12-17 04:152018-12-17 04:39
WubTheCaptain 
WubTheCaptain 
normaltweakalways
newopen 
1.2 
 
0003581: Version::operatingSystem() knows only about three operating systems (Windows, Linux & Mac)
Version::operatingSystem() only has definitions for Windows, Linux and Mac. Every other operating system is reported as an "Unknown OS for Version::operatingSystem()".

Qt 5 would provide additional global definitions for at least the following additional operating systems, which could be implemented:

  1. AIX
  2. Android
  3. Any BSD 4.4 system
  4. Cygwin
  5. Darwin (macOS, iOS, watchOS, tvOS)
  6. FreeBSD
  7. HP-UX
  8. GNU Hurd
  9. iOS (see also Darwin)
  10. LynxOS
  11. macOS (see also Darwin)
  12. NetBSD
  13. OpenBSD
  14. PNX Neutrino
  15. Sun Solaris
  16. tvOS (see also Darwin)
  17. Any UNIX BSD/SYSV system
  18. watchOS (see also Darwin)
  19. Windows (64-bit or RT variants)
src/core/version.cpp
https://doc.qt.io/qt-5/qtglobal.html [^]
No tags attached.
related to 0003514closed  Drop support for compiling with Qt4 (in favor of Qt5+) 
child of 0003499confirmed WubTheCaptain Port Doomseeker to OpenBSD 
Issue History
2018-12-17 04:15WubTheCaptainNew Issue
2018-12-17 04:16WubTheCaptainRelationship addedchild of 0003499
2018-12-17 04:16WubTheCaptainNote Added: 0020258
2018-12-17 04:16WubTheCaptainAssigned To => WubTheCaptain
2018-12-17 04:16WubTheCaptainStatusnew => feedback
2018-12-17 04:18WubTheCaptainDescription Updatedbug_revision_view_page.php?rev_id=12305#r12305
2018-12-17 04:18WubTheCaptainSeverityminor => tweak
2018-12-17 04:32WubTheCaptainDescription Updatedbug_revision_view_page.php?rev_id=12306#r12306
2018-12-17 04:34WubTheCaptainNote Added: 0020261
2018-12-17 04:34WubTheCaptainStatusfeedback => assigned
2018-12-17 04:35WubTheCaptainNote Edited: 0020261bug_revision_view_page.php?bugnote_id=20261#r12308
2018-12-17 04:35WubTheCaptainNote Edited: 0020261bug_revision_view_page.php?bugnote_id=20261#r12309
2018-12-17 04:35WubTheCaptainStatusassigned => feedback
2018-12-17 04:36WubTheCaptainStatusfeedback => new
2018-12-17 04:39WubTheCaptainRelationship addedrelated to 0003514

Notes
(0020258)
WubTheCaptain   
2018-12-17 04:16   
Which ones are useful to us?
(0020261)
WubTheCaptain   
2018-12-17 04:34   
(edited on: 2018-12-17 04:35)
If we can drop support for Qt 4, we could also use QSysInfo functions such as QSysInfo::prettyProductName() instead of these definitions. Those were added in Qt 5.4.

https://doc.qt.io/qt-5/qsysinfo.html [^]