VirtualBox

Ignore:
Timestamp:
Jan 28, 2016 1:45:12 PM (9 years ago)
Author:
vboxsync
Message:

FE/Qt: Qt5 migration (part 79): Preparing Qt5 tool: Patching Makefiles to be able to build components with Qt5 using VBOX_WITH_QTGUI_V5 flag.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/Makefile.kmk

    r59473 r59509  
    418418 ifneq ($(KBUILD_TARGET),darwin)
    419419  ifdef VBOX_WITH_VIDEOHWACCEL
    420    USES += qt4
     420   ifeq ($(VBOX_WITH_QTGUI_V5),)
     421    USES += qt4
     422   else # VBOX_WITH_QTGUI_V5
     423    USES += qt5
     424   endif # VBOX_WITH_QTGUI_V5
    421425  endif
    422426  PROGRAMS += VBoxTestOGL
     
    437441  ifdef VBOX_WITH_VIDEOHWACCEL
    438442   VBoxTestOGL_QT_MODULES     += Core Gui OpenGL
     443   ifneq ($(VBOX_WITH_QTGUI_V5),)
     444    # Qt5 requires additional modules:
     445    VBoxTestOGL_QT_MODULES += Widgets
     446   endif # VBOX_WITH_QTGUI_V5
    439447   VBoxTestOGL_LDFLAGS.darwin += -framework OpenGL
    440448   VBoxTestOGL_LIBS.win       += $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Opengl32.lib
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