VirtualBox

Changeset 99853 in vbox


Ignore:
Timestamp:
May 18, 2023 2:40:43 PM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
157491
Message:

Debugger/Gui: ​bugref:10450: Some Qt6 compatibility stuff.

Location:
trunk/src/VBox/Debugger
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Debugger/Makefile.kmk

    r99846 r99853  
    149149 VBoxDbg_TEMPLATE = VBoxQtGuiDll
    150150 VBoxDbg_DEFS = IN_DBG_R3
     151 ifdef VBOX_WITH_QT6
     152  VBoxDbg_DEFS += VBOX_IS_QT6_OR_LATER
     153 endif
    151154 VBoxDbg_INCS = .
    152155 VBoxDbg_QT_MODULES = Core Gui Widgets
  • trunk/src/VBox/Debugger/VBoxDbgGui.cpp

    r99802 r99853  
    296296    if (SUCCEEDED(hrc))
    297297    {
     298#ifndef VBOX_IS_QT6_OR_LATER
    298299        strName = QString::fromUtf16((const ushort *)bstr);
     300#else
     301        strName = QString::fromUtf16((char16_t *)bstr);
     302#endif
    299303        SysFreeString(bstr);
    300304    }
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