From 764924da8ab3255c1b8d1ad5b39f85675f4b855e Mon Sep 17 00:00:00 2001 From: Mike Krus Date: Mon, 27 Apr 2020 11:56:17 +0100 Subject: Fix build for Qt6 - updated dependencies, excluding qtgamepad for now - fixed issues with Q_PROPERTY not supporting forward declarations - fixed for changes in QtQuick private API - fixed for changes in QtOpenGLVersionFunctions API - fixed for removal of QT_OPENGL_ES* macros - fixed for changes in QtConcurrent API - fixed RHI based build Change-Id: I42ccd2f101b7f0a78e2860c6d551722bf6710a11 Reviewed-by: Paul Lemire --- .../render/opengl/graphicshelpergl3_3/tst_graphicshelpergl3_3.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/auto/render/opengl/graphicshelpergl3_3/tst_graphicshelpergl3_3.cpp') diff --git a/tests/auto/render/opengl/graphicshelpergl3_3/tst_graphicshelpergl3_3.cpp b/tests/auto/render/opengl/graphicshelpergl3_3/tst_graphicshelpergl3_3.cpp index b463e6236..7e2ca4aa0 100644 --- a/tests/auto/render/opengl/graphicshelpergl3_3/tst_graphicshelpergl3_3.cpp +++ b/tests/auto/render/opengl/graphicshelpergl3_3/tst_graphicshelpergl3_3.cpp @@ -32,11 +32,12 @@ #include #include #include +#include #include #include #include -#if !defined(QT_OPENGL_ES_2) && defined(QT_OPENGL_3_2) +#if !QT_CONFIG(opengles2) && defined(QT_OPENGL_3_2) #define TEST_SHOULD_BE_PERFORMED 1 @@ -207,7 +208,7 @@ private Q_SLOTS: return; } - if ((m_func = m_glContext.versionFunctions()) != nullptr) { + if ((m_func = QOpenGLVersionFunctionsFactory::get()) != nullptr) { m_glHelper.initializeHelper(&m_glContext, m_func); m_initializationSuccessful = true; } -- cgit v1.2.3