VirtualBox

Ignore:
Timestamp:
Nov 30, 2015 7:43:58 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
104425
Message:

FE/Qt: Qt5 migration (part 24): Try to fix a build for r104424.

File:
1 edited

Legend:

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

    r58921 r58922  
    6464# if QT_VERSION >= 0x050000
    6565#  include <xcb/xcb.h>
    66 # endif /* QT_VERSION >= 0x050000 */
     66# else /* QT_VERSION < 0x050000 */
     67#  ifdef KeyPress
     68const int XKeyPress = KeyPress;
     69const int XKeyRelease = KeyRelease;
     70#   undef KeyPress
     71#   undef KeyRelease
     72#  endif /* KeyPress */
     73# endif /* QT_VERSION < 0x050000 */
    6774#endif /* Q_WS_X11 */
    6875
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