VirtualBox

Changeset 99834 in vbox for trunk


Ignore:
Timestamp:
May 18, 2023 9:44:24 AM (20 months ago)
Author:
vboxsync
Message:

OpenGLTest: bugref:10450: Adding missed include to be able to build with Qt6 later.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/VBoxGL2D.h

    r98103 r99834  
    4141# pragma once
    4242#endif
     43
     44#if defined(VBOX_IS_QT6_OR_LATER) && defined(RT_OS_WINDOWS)
     45// Qt6 has this included no more, adding ourselves:
     46# include <GL/gl.h>
     47#endif /* VBOX_IS_QT6_OR_LATER && RT_OS_WINDOWS */
    4348
    4449#include <iprt/types.h>
  • trunk/src/VBox/Main/src-helper-apps/OpenGLTest/Makefile.kmk

    r98431 r99834  
    7272  VBoxTestOGL_DEFS            = VBOX_BUILD_TARGET=\"$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)\"
    7373 endif
     74 ifdef VBOX_WITH_QT6
     75  VBoxTestOGL_DEFS           += VBOX_IS_QT6_OR_LATER
     76 endif
    7477 VBoxTestOGL_SOURCES          = OpenGLTestApp.cpp
    7578 VBoxTestOGL_SOURCES.win      = VBoxTestOGL.rc
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