VirtualBox

Changeset 87756 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Feb 15, 2021 10:34:48 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
142808
Message:

FE/VirtualBox: Implement runtime patching of QTextBrowser (disabled by default for now, enable with VBOX_WITH_QT_RUNTIME_PATCHING=1) to produce more optimal rendering resultsfor the new help viewer, bugref:9831

Location:
trunk/src/VBox/Frontends/VirtualBox
Files:
1 added
2 edited

Legend:

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

    r87731 r87756  
    246246ifndef VBOX_WITHOUT_LESS_VIRTUALBOX_INCLUDING
    247247 UICommon_DEFS        += VBOX_WITH_LESS_VIRTUALBOX_INCLUDING
     248endif
     249ifdef VBOX_WITH_QT_RUNTIME_PATCHING
     250 UICommon_DEFS += \
     251        VBOX_WITH_QT_RUNTIME_PATCHING \
     252        IN_DIS \
     253        IN_DIS_STATIC \
     254        DIS_CORE_ONLY
    248255endif
    249256
     
    14891496        src/platform/darwin/VBoxUtils-darwin.cpp
    14901497
     1498ifdef VBOX_WITH_QT_RUNTIME_PATCHING
     1499 UICommon_SOURCES += \
     1500        src/qtpatching.cpp \
     1501        ../../Disassembler/DisasmCore.cpp \
     1502        ../../Disassembler/DisasmTables.cpp \
     1503        ../../Disassembler/DisasmTablesX64.cpp \
     1504        ../../Disassembler/DisasmReg.cpp
     1505endif
    14911506
    14921507#
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UICommon.cpp

    r87656 r87756  
    168168
    169169//#define VBOX_WITH_FULL_DETAILS_REPORT /* hidden for now */
     170
     171#ifdef VBOX_WITH_QT_RUNTIME_PATCHING
     172DECLHIDDEN(void) uiCommonQtRuntimePatch(void);
     173#endif
    170174
    171175/* Namespaces: */
     
    40864090#endif /* VBOX_WS_MAC */
    40874091
     4092#ifdef VBOX_WITH_QT_RUNTIME_PATCHING
     4093    /* Patch some Qt modules to tailor the behavior towards our needs. */
     4094    uiCommonQtRuntimePatch();
     4095#endif
     4096
    40884097    /* Prepare converter: */
    40894098    UIConverter::prepare();
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