VirtualBox

Changeset 101588 in vbox for trunk


Ignore:
Timestamp:
Oct 25, 2023 12:29:47 PM (15 months ago)
Author:
vboxsync
Message:

FE/Qt: bugref:10450: Get rid of Qt5 stuff; This one is about GUI Makefile.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk

    r101417 r101588  
    3535VBOX_VIRTUALBOX_SRC := $(PATH_SUB_CURRENT)
    3636VBOX_VIRTUALBOX_OUT_DIR := $(PATH_TARGET)/VirtualBox/misc
    37 ifndef VBOX_WITH_QT6
    38  USES += qt5
    39 else
    40  USES += qt6
    41 endif
     37USES += qt6
    4238
    4339
     
    388384endif
    389385
    390 ifdef VBOX_WITH_QT6
    391  VirtualBox_CXXFLAGS.win += /permissive-
    392 endif
    393 
     386VirtualBox_CXXFLAGS.win += /permissive-
    394387VirtualBox_CXXFLAGS.linux += $(VBOX_GCC_Wno-class-memaccess)
    395388
     
    423416endif
    424417
    425 ifdef VBOX_WITH_QT6
    426  VirtualBoxVM_CXXFLAGS.win += /permissive-
    427 endif
    428 
     418VirtualBoxVM_CXXFLAGS.win += /permissive-
    429419VirtualBoxVM_CXXFLAGS.linux += $(VBOX_GCC_Wno-class-memaccess)
    430420
     
    465455UICommon_CXXFLAGS.win += -wd4868 # prevents std::stable_sort from using functor/function comparator
    466456UICommon_CXXFLAGS.win += -bigobj # COMWrappers.cpp fails with too many sections on win64-dep otherwise.
    467 ifdef VBOX_WITH_QT6
    468  UICommon_CXXFLAGS.win += /permissive-
    469 endif
     457UICommon_CXXFLAGS.win += /permissive-
    470458
    471459## @todo we're using a number of deprecated APIs, please fix and remove these!
     
    16481636# (The include directory and lib/framework for each module will be added by the Qt unit.)
    16491637#
    1650 VirtualBox_QT_MODULES = Core Gui Widgets PrintSupport
    1651 ifdef VBOX_WITH_QT6
    1652  VirtualBox_QT_MODULES     += StateMachine
    1653  VirtualBox_QT_MODULES.win += EntryPoint
    1654 endif
    1655 ifndef VBOX_WITH_QT6
    1656  VirtualBox_QT_MODULES.linux   += X11Extras
    1657  VirtualBox_QT_MODULES.solaris += X11Extras
    1658  VirtualBox_QT_MODULES.freebsd += X11Extras
    1659  VirtualBox_QT_MODULES.darwin  += MacExtras
    1660  VirtualBox_QT_MODULES.win     += WinExtras
    1661 endif
     1638VirtualBox_QT_MODULES = Core Gui Widgets PrintSupport StateMachine
     1639VirtualBox_QT_MODULES.win += EntryPoint
    16621640
    16631641
     
    16671645# (The include directory and lib/framework for each module will be added by the Qt unit.)
    16681646#
    1669 VirtualBoxVM_QT_MODULES = Core Gui Widgets PrintSupport
    1670 ifdef VBOX_WITH_QT6
    1671  VirtualBoxVM_QT_MODULES     += StateMachine
    1672  VirtualBoxVM_QT_MODULES.win += EntryPoint
    1673 endif
    1674 ifndef VBOX_WITH_QT6
    1675  VirtualBoxVM_QT_MODULES.linux   += X11Extras
    1676  VirtualBoxVM_QT_MODULES.solaris += X11Extras
    1677  VirtualBoxVM_QT_MODULES.freebsd += X11Extras
    1678  VirtualBoxVM_QT_MODULES.darwin  += MacExtras
    1679  VirtualBoxVM_QT_MODULES.win     += WinExtras
    1680 endif
     1647VirtualBoxVM_QT_MODULES = Core Gui Widgets PrintSupport StateMachine
     1648VirtualBoxVM_QT_MODULES.win += EntryPoint
    16811649
    16821650
     
    16861654# (The include directory and lib/framework for each module will be added by the Qt unit.)
    16871655#
    1688 UICommon_QT_MODULES = Core Gui Widgets Help
    1689 ifdef VBOX_WITH_QT6
    1690  UICommon_QT_MODULES += StateMachine
    1691 endif
    1692 ifndef VBOX_WITH_QT6
    1693  UICommon_QT_MODULES.linux   += X11Extras
    1694 endif
     1656UICommon_QT_MODULES = Core Gui Widgets Help StateMachine
    16951657ifdef VBOX_WITH_SCREENSAVER_CONTROL
    16961658 UICommon_QT_MODULES.linux    += DBus
    16971659 UICommon_QT_MODULES.linux    += Xml
    16981660endif
    1699 ifndef VBOX_WITH_QT6
    1700  UICommon_QT_MODULES.solaris += X11Extras
    1701 endif
    17021661ifdef VBOX_WITH_SCREENSAVER_CONTROL
    17031662 UICommon_QT_MODULES.solaris  += DBus
    17041663 UICommon_QT_MODULES.solaris  += Xml
    17051664endif
    1706 ifndef VBOX_WITH_QT6
    1707  UICommon_QT_MODULES.freebsd += X11Extras
    1708 endif
    17091665ifdef VBOX_WITH_SCREENSAVER_CONTROL
    17101666 UICommon_QT_MODULES.freebsd  += DBus
    17111667 UICommon_QT_MODULES.freebsd  += Xml
    1712 endif
    1713 ifndef VBOX_WITH_QT6
    1714  UICommon_QT_MODULES.darwin  += MacExtras
    1715  UICommon_QT_MODULES.win     += WinExtras
    17161668endif
    17171669
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