VirtualBox

Ignore:
Timestamp:
Jul 10, 2015 2:35:10 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
101616
Message:

FE/Qt: 7699: X11: Make all our widgets native, alien Qt widgets causing crashes while mixing them with native in X11 hierarchy.

File:
1 edited

Legend:

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

    r55803 r56916  
    372372        QApplication a(argc, argv);
    373373
     374#ifdef Q_WS_X11
     375        /* To avoid various Qt crashes
     376         * when testing widget attributes or acquiring winIds
     377         * we decided to make our widgets native under x11 hosts.
     378         * Yes, we aware of note that alien widgets faster to draw
     379         * but the only widget we need to be fast - viewport of VM
     380         * was always native since we are using his id for 3d service needs. */
     381        a.setAttribute(Qt::AA_NativeWindows);
     382#endif /* Q_WS_X11 */
     383
    374384#ifdef Q_WS_MAC
    375385# ifdef VBOX_GUI_WITH_HIDPI
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