VirtualBox

Changeset 101134 in vbox


Ignore:
Timestamp:
Sep 15, 2023 4:27:25 PM (19 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
159107
Message:

FE/Qt: Added some quick'n dirty fixes to make it run on ARM w/ the right platform properties. Needs to be fixed properly by the UI guys. bugref:10510

Location:
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIAudioControllerEditor.cpp

    r101035 r101134  
    147147
    148148        /* Load currently supported audio driver types: */
     149#ifdef VBOX_WITH_VIRT_ARMV8 /** @todo BUGBUG Quick'n dirty fix to make it run on ARM. Needs proper fixing / re-structuring. */
     150        CPlatformProperties comProperties = uiCommon().virtualBox().GetPlatformProperties(KPlatformArchitecture_ARM);
     151#else
    149152        CPlatformProperties comProperties = uiCommon().virtualBox().GetPlatformProperties(KPlatformArchitecture_x86);
     153#endif
    150154        m_supportedValues = comProperties.GetSupportedAudioControllerTypes();
    151155
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIGraphicsControllerEditor.cpp

    r101035 r101134  
    156156
    157157        /* Load currently supported graphics controller types: */
     158#ifdef VBOX_WITH_VIRT_ARMV8 /** @todo BUGBUG Quick'n dirty fix to make it run on ARM. Needs proper fixing / re-structuring. */
     159        CPlatformProperties comProperties = uiCommon().virtualBox().GetPlatformProperties(KPlatformArchitecture_ARM);
     160#else
    158161        CPlatformProperties comProperties = uiCommon().virtualBox().GetPlatformProperties(KPlatformArchitecture_x86);
     162#endif
    159163        m_supportedValues = comProperties.GetSupportedGraphicsControllerTypes();
    160164
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UINetworkFeaturesEditor.cpp

    r101035 r101134  
    465465
    466466        /* Load currently supported types: */
     467#ifdef VBOX_WITH_VIRT_ARMV8 /** @todo BUGBUG Quick'n dirty fix to make it run on ARM. Needs proper fixing / re-structuring. */
     468        CPlatformProperties comProperties = uiCommon().virtualBox().GetPlatformProperties(KPlatformArchitecture_ARM);
     469#else
    467470        CPlatformProperties comProperties = uiCommon().virtualBox().GetPlatformProperties(KPlatformArchitecture_x86);
     471#endif
    468472        QVector<KNetworkAdapterType> supportedTypes = comProperties.GetSupportedNetworkAdapterTypes();
    469473
Note: See TracChangeset for help on using the changeset viewer.

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