VirtualBox

Changeset 106170 in vbox for trunk/src


Ignore:
Timestamp:
Sep 27, 2024 4:53:29 PM (2 months ago)
Author:
vboxsync
Message:

Config.kmk, Makefile.kmk, FE/Qt: bugref:10450: Get rid of VBOX_WITH_QT6 define and old possibility to build with our own Qt5 tool which was impossible already.

File:
1 edited

Legend:

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

    r106061 r106170  
    107107VirtualBox_SDKS.win       = ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK)
    108108VirtualBox_DEFS           =
    109 ifdef VBOX_WITH_QT6 # moc is too stupid to parse #if QT_VERSION > xxx, '#ifdef VBOX_IS_QT6_OR_LATER' works though (no spaces).
    110  VirtualBox_DEFS         += VBOX_IS_QT6_OR_LATER
    111 endif
     109VirtualBox_DEFS          += VBOX_IS_QT6_OR_LATER
    112110VirtualBox_DEFS.debug     = VBOX_CHECK_STATE # QT_FATAL_ASSERT
    113111VirtualBox_DEFS.linux     = VBOX_WS_NIX QT_NO_DEPRECATED_WARNINGS
     
    124122 VirtualBox_DEFS.darwin += VBOX_WITH_VMNET
    125123endif
    126 ifndef VBOX_WITH_QT6 # qt6: The UICocoaSpecialControls needs restructuring because QMacCocoaViewContainer is gone. Too lazy for now.
    127  VirtualBox_DEFS.darwin   += VBOX_DARWIN_USE_NATIVE_CONTROLS
    128 endif
     124# qt6: The UICocoaSpecialControls needs restructuring because QMacCocoaViewContainer is gone. Too lazy for now.
     125# VirtualBox_DEFS.darwin   += VBOX_DARWIN_USE_NATIVE_CONTROLS
    129126VirtualBox_DEFS.win       += UNICODE QT_DLL
    130127# Sort alphabetically!
     
    178175VirtualBoxVM_SDKS.win       = ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK)
    179176VirtualBoxVM_DEFS           = VBOX_RUNTIME_UI
    180 ifdef VBOX_WITH_QT6 # moc is too stupid to parse #if QT_VERSION > xxx, '#ifdef VBOX_IS_QT6_OR_LATER' works though (no spaces).
    181  VirtualBoxVM_DEFS         += VBOX_IS_QT6_OR_LATER
    182 endif
     177VirtualBoxVM_DEFS          += VBOX_IS_QT6_OR_LATER
    183178VirtualBoxVM_DEFS.debug     = VBOX_CHECK_STATE # QT_FATAL_ASSERT
    184179VirtualBoxVM_DEFS.linux     = VBOX_WS_NIX QT_NO_DEPRECATED_WARNINGS
     
    195190 VirtualBoxVM_DEFS.darwin   += VBOX_WITH_VMNET
    196191endif
    197 ifndef VBOX_WITH_QT6 # qt6: The UICocoaSpecialControls needs restructuring because QMacCocoaViewContainer is gone. Too lazy for now.
    198  VirtualBoxVM_DEFS.darwin   += VBOX_DARWIN_USE_NATIVE_CONTROLS
    199 endif
     192# qt6: The UICocoaSpecialControls needs restructuring because QMacCocoaViewContainer is gone. Too lazy for now.
     193# VirtualBoxVM_DEFS.darwin   += VBOX_DARWIN_USE_NATIVE_CONTROLS
    200194VirtualBoxVM_DEFS.win       += UNICODE QT_DLL
    201195# Sort alphabetically!
     
    243237UICommon_NAME = UICommon
    244238UICommon_DEFS         = VBOX_GUI_LIBRARY
    245 ifdef VBOX_WITH_QT6 # moc is too stupid to parse #if QT_VERSION > xxx, '#ifdef VBOX_IS_QT6_OR_LATER' works though (no spaces).
    246  UICommon_DEFS       += VBOX_IS_QT6_OR_LATER
    247 endif
     239UICommon_DEFS        += VBOX_IS_QT6_OR_LATER
    248240UICommon_DEFS.darwin  = VBOX_WS_MAC
    249241UICommon_DEFS.freebsd = VBOX_WS_NIX
     
    255247 UICommon_DEFS.darwin += VBOX_WITH_VMNET
    256248endif
    257 ifndef VBOX_WITH_QT6 # qt6: The UICocoaSpecialControls needs restructuring because QMacCocoaViewContainer is gone. Too lazy for now.
    258  UICommon_DEFS.darwin += VBOX_DARWIN_USE_NATIVE_CONTROLS
    259 endif
     249# qt6: The UICocoaSpecialControls needs restructuring because QMacCocoaViewContainer is gone. Too lazy for now.
     250# UICommon_DEFS.darwin += VBOX_DARWIN_USE_NATIVE_CONTROLS
    260251#UICommon_DEFS.win     += UNICODE QT_DLL
    261252# Sort alphabetically!
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