VirtualBox

Changeset 104054 in vbox


Ignore:
Timestamp:
Mar 26, 2024 8:52:58 AM (8 months ago)
Author:
vboxsync
Message:

Version.kmk, FE/Qt: Remove explicit BETA label from the build, and keep the Dev Preview marker on all ARM builds (independent of OS).

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Version.kmk

    r98445 r104054  
    4545VBOX_RELEASE_EXACT_MATCH =
    4646
    47 # darwin.arm64 will remain BETA for quite a while.
    48 if1of ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH), darwin.arm64)
    49  if $(VBOX_VERSION_BUILD) % 2 == 0
    50   ifeq ($(VBOX_VERSION_PRERELEASE),)
    51    VBOX_RELEASE_EXACT_MATCH := 1
    52   endif
    53  endif
    54  VBOX_VERSION_PRERELEASE := BETA5
    55 endif
    56 
    5747# Fallback revision when there is no other source. See Config.kmk.
    5848VBOX_SVN_REV_VERSION_FALLBACK := $(patsubst %:,,  $Rev$  )
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIVersion.cpp

    r103793 r104054  
    211211bool UIVersionInfo::isBeta()
    212212{
     213#if defined(RT_ARCH_ARM64) || defined(RT_ARCH_ARM32)
     214    return true;
     215#else
    213216    return vboxVersionString().contains(QRegularExpression("BETA|ALPHA", QRegularExpression::CaseInsensitiveOption));
     217#endif
    214218}
    215219
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManagerWidget.cpp

    r103793 r104054  
    677677                        m_pToolBar->setContextMenuPolicy(Qt::CustomContextMenu);
    678678                        m_pToolBar->setUseTextLabels(true);
    679 #ifdef VBOX_WS_MAC
    680                         m_pToolBar->emulateMacToolbar();
     679#if defined(RT_ARCH_ARM64) || defined(RT_ARCH_ARM32)
    681680                        /* Branding stuff for Qt6 beta: */
    682681                        if (UIVersionInfo::showBetaLabel())
     682                        {
     683# ifdef VBOX_WS_MAC
     684                            m_pToolBar->emulateMacToolbar();
     685# endif /* VBOX_WS_MAC */
    683686                            m_pToolBar->enableBranding(UIIconPool::iconSet(":/explosion_hazard_32px.png"),
    684687                                                       "Dev Preview", // do we need to make it NLS?
    685688                                                       QColor(246, 179, 0),
    686689                                                       74 /* width of BETA label */);
    687 #endif /* VBOX_WS_MAC */
     690                        }
     691#endif /* defined(RT_ARCH_ARM64) || defined(RT_ARCH_ARM32) */
    688692
    689693                        /* Add toolbar into layout: */
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