<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Error in Qt 6.2.0: Qt3D.Renderer.OpenGL.Backend: bool Qt3DRender::Render::OpenGL::GraphicsContext::makeCurrent(QSurface*) makeCurrent failed]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I have this error in Qt 6.2.0:</p>
<pre><code>Qt3D.Renderer.OpenGL.Backend: bool Qt3DRender::Render::OpenGL::GraphicsContext::makeCurrent(QSurface*) makeCurrent failed
</code></pre>
<p dir="auto">I created "Qt QWidgets Application". I deleted the Widget class. I added this modules in .pro: <code>QT       += 3dcore 3dextras</code></p>
<p dir="auto">main.cpp</p>
<pre><code>
#include &lt;QtWidgets/QApplication&gt;
#include &lt;Qt3DExtras/Qt3DWindow&gt;

class Widget : public Qt3DExtras::Qt3DWindow
{
public:
    Widget()
    {
        setTitle("Qt3D");
        resize(500, 500);
    }
};

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    Widget w;
    w.show();
    return a.exec();
}
</code></pre>
]]></description><link>https://forum.qt.io/topic/131647/error-in-qt-6-2-0-qt3d-renderer-opengl-backend-bool-qt3drender-render-opengl-graphicscontext-makecurrent-qsurface-makecurrent-failed</link><generator>RSS for Node</generator><lastBuildDate>Thu, 05 Nov 2026 05:37:41 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/131647.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 02 Nov 2021 14:01:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Error in Qt 6.2.0: Qt3D.Renderer.OpenGL.Backend: bool Qt3DRender::Render::OpenGL::GraphicsContext::makeCurrent(QSurface*) makeCurrent failed on Tue, 02 Nov 2021 14:04:38 GMT]]></title><description><![CDATA[<p dir="auto">When I wrote this question I understood the answer. I forgot to add activation of second video of my laptop at the beginning of main.cpp:</p>
<pre><code>#ifdef _WIN32
#include &lt;windows.h&gt;
extern "C" __declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
extern "C" __declspec(dllexport) DWORD AmdPowerXpressRequestHighPerformance = 0x00000001;
#endif
</code></pre>
]]></description><link>https://forum.qt.io/post/687992</link><guid isPermaLink="true">https://forum.qt.io/post/687992</guid><dc:creator><![CDATA[8Observer8]]></dc:creator><pubDate>Tue, 02 Nov 2021 14:04:38 GMT</pubDate></item></channel></rss>