- Timestamp:
- Oct 25, 2023 12:29:47 PM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk
r101417 r101588 35 35 VBOX_VIRTUALBOX_SRC := $(PATH_SUB_CURRENT) 36 36 VBOX_VIRTUALBOX_OUT_DIR := $(PATH_TARGET)/VirtualBox/misc 37 ifndef VBOX_WITH_QT6 38 USES += qt5 39 else 40 USES += qt6 41 endif 37 USES += qt6 42 38 43 39 … … 388 384 endif 389 385 390 ifdef VBOX_WITH_QT6 391 VirtualBox_CXXFLAGS.win += /permissive- 392 endif 393 386 VirtualBox_CXXFLAGS.win += /permissive- 394 387 VirtualBox_CXXFLAGS.linux += $(VBOX_GCC_Wno-class-memaccess) 395 388 … … 423 416 endif 424 417 425 ifdef VBOX_WITH_QT6 426 VirtualBoxVM_CXXFLAGS.win += /permissive- 427 endif 428 418 VirtualBoxVM_CXXFLAGS.win += /permissive- 429 419 VirtualBoxVM_CXXFLAGS.linux += $(VBOX_GCC_Wno-class-memaccess) 430 420 … … 465 455 UICommon_CXXFLAGS.win += -wd4868 # prevents std::stable_sort from using functor/function comparator 466 456 UICommon_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 457 UICommon_CXXFLAGS.win += /permissive- 470 458 471 459 ## @todo we're using a number of deprecated APIs, please fix and remove these! … … 1648 1636 # (The include directory and lib/framework for each module will be added by the Qt unit.) 1649 1637 # 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 1638 VirtualBox_QT_MODULES = Core Gui Widgets PrintSupport StateMachine 1639 VirtualBox_QT_MODULES.win += EntryPoint 1662 1640 1663 1641 … … 1667 1645 # (The include directory and lib/framework for each module will be added by the Qt unit.) 1668 1646 # 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 1647 VirtualBoxVM_QT_MODULES = Core Gui Widgets PrintSupport StateMachine 1648 VirtualBoxVM_QT_MODULES.win += EntryPoint 1681 1649 1682 1650 … … 1686 1654 # (The include directory and lib/framework for each module will be added by the Qt unit.) 1687 1655 # 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 1656 UICommon_QT_MODULES = Core Gui Widgets Help StateMachine 1695 1657 ifdef VBOX_WITH_SCREENSAVER_CONTROL 1696 1658 UICommon_QT_MODULES.linux += DBus 1697 1659 UICommon_QT_MODULES.linux += Xml 1698 1660 endif 1699 ifndef VBOX_WITH_QT61700 UICommon_QT_MODULES.solaris += X11Extras1701 endif1702 1661 ifdef VBOX_WITH_SCREENSAVER_CONTROL 1703 1662 UICommon_QT_MODULES.solaris += DBus 1704 1663 UICommon_QT_MODULES.solaris += Xml 1705 1664 endif 1706 ifndef VBOX_WITH_QT61707 UICommon_QT_MODULES.freebsd += X11Extras1708 endif1709 1665 ifdef VBOX_WITH_SCREENSAVER_CONTROL 1710 1666 UICommon_QT_MODULES.freebsd += DBus 1711 1667 UICommon_QT_MODULES.freebsd += Xml 1712 endif1713 ifndef VBOX_WITH_QT61714 UICommon_QT_MODULES.darwin += MacExtras1715 UICommon_QT_MODULES.win += WinExtras1716 1668 endif 1717 1669
Note:
See TracChangeset
for help on using the changeset viewer.