VirtualBox

Changeset 84368 in vbox for trunk/src


Ignore:
Timestamp:
May 19, 2020 11:44:24 AM (5 years ago)
Author:
vboxsync
Message:

FE/Qt: On X11 platform force backend 'xcb', because if some desktop environment defaults to 'wayland' we'll crash because there is a lot of X11 specific code in the UI, and there are no checks to protect it. ticketref:19357

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/main.cpp

    r83033 r84368  
    670670        if (!MakeSureMultiThreadingIsSafe())
    671671            break;
     672        /* Force using Qt platform module 'xcb', we have X11 specific code: */
     673        RTEnvSet("QT_QPA_PLATFORM", "xcb");
    672674#endif /* VBOX_WS_X11 */
    673675
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