VirtualBox

Ignore:
Timestamp:
Oct 25, 2024 6:02:29 PM (4 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
165588
Message:

FE/Qt: bugref:10450: New Version Checker: Use RT_OS_ stuff instead of Q_OS_ macros as they get renamed too often; For example macOS related is inconsistent with Qt6.8 already.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/networking/UINewVersionChecker.cpp

    r106061 r106708  
    140140    QString strPlatform;
    141141
    142 #if defined (Q_OS_WIN)
     142#if defined (RT_OS_WINDOWS)
    143143    strPlatform = "win";
    144 #elif defined (Q_OS_LINUX)
     144#elif defined (RT_OS_LINUX)
    145145    strPlatform = "linux";
    146 #elif defined (Q_OS_MACX)
     146#elif defined (RT_OS_DARWIN)
    147147    strPlatform = "macosx";
    148 #elif defined (Q_OS_OS2)
     148#elif defined (RT_OS_OS2)
    149149    strPlatform = "os2";
    150 #elif defined (Q_OS_FREEBSD)
     150#elif defined (RT_OS_FREEBSD)
    151151    strPlatform = "freebsd";
    152 #elif defined (Q_OS_SOLARIS)
     152#elif defined (RT_OS_SOLARIS)
    153153    strPlatform = "solaris";
    154154#else
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette