diff --git a/src/gui/configure.cmake b/src/gui/configure.cmake index 26434f82044..7449739db27 100644 --- a/src/gui/configure.cmake +++ b/src/gui/configure.cmake @@ -908,7 +908,7 @@ qt_feature("openvg" PUBLIC ) qt_feature("egl" PUBLIC LABEL "EGL" - CONDITION ( QT_FEATURE_opengl OR QT_FEATURE_openvg ) AND EGL_FOUND AND ( QT_FEATURE_dlopen OR NOT UNIX OR INTEGRITY ) + CONDITION ( QT_FEATURE_opengl OR QT_FEATURE_openvg ) AND EGL_FOUND AND ( QT_FEATURE_dlopen OR NOT UNIX OR INTEGRITY OR VXWORKS) ) qt_feature_definition("egl" "QT_NO_EGL" NEGATE VALUE "1") qt_feature("egl_x11" PRIVATE diff --git a/src/gui/opengl/platform/egl/qeglplatformcontext.cpp b/src/gui/opengl/platform/egl/qeglplatformcontext.cpp index af7cb0c9983..5eb61386f45 100644 --- a/src/gui/opengl/platform/egl/qeglplatformcontext.cpp +++ b/src/gui/opengl/platform/egl/qeglplatformcontext.cpp @@ -431,7 +431,7 @@ QFunctionPointer QEGLPlatformContext::getProcAddress(const char *procName) { eglBindAPI(m_api); QFunctionPointer proc = (QFunctionPointer) eglGetProcAddress(procName); -#if !defined(Q_OS_WIN) && !defined(Q_OS_INTEGRITY) +#if QT_CONFIG(dlopen) if (!proc) proc = (QFunctionPointer) dlsym(RTLD_DEFAULT, procName); #elif !defined(QT_OPENGL_DYNAMIC)