<?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[There is something wrong with QOpenGLWidget]]></title><description><![CDATA[<p dir="auto">I wrote several small programs with QOpenGLWidget, which could be run independently about two months ago.<br />
Today, I want to use them and find that these softwares can be opened (no .dll missing), but once it was involved in the opengl interface, it would get stuck and crash (kind of like entering a dead loop).<br />
I put opengl32.dll into the root directory, and then I use qdebug to locate the problem whiling show() triggered. A large number of debug info: "Failed to make context current." "QOpenGLWidget: Failed to make context current" "composeAndFlush: makeCurrent() failed"<br />
The opengl demo from qt creator is not successful either.<br />
I tried to uninstall qt and install qt again but it didnt work.<br />
ps: Softwares work perfectly on my colleague's computer.<br />
I really want to know what happened. My environment is QT5.11.1 + MSVC2017 +Win11x64. I guess something is changed in these two months but I dont know how to deal</p>
]]></description><link>https://forum.qt.io/topic/158131/there-is-something-wrong-with-qopenglwidget</link><generator>RSS for Node</generator><lastBuildDate>Fri, 08 May 2026 12:01:25 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/158131.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 09 Aug 2024 00:46:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to There is something wrong with QOpenGLWidget on Thu, 15 Aug 2024 11:02:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jerry-le">@<bdi>Jerry-Le</bdi></a> QT5.11.1 is kind of old. Get a newer version of QT(for example above 5.15.2)</p>
<p dir="auto">Troubleshooting Steps:<br />
Update Drivers: Ensure that your graphics drivers are up to date.<br />
Check OpenGL Version: Verify that your system supports the required OpenGL version.<br />
Qt Settings: Review your Qt configuration, particularly the OpenGL settings.<br />
Environment Variables: Try setting QT_OPENGL=angle or QT_OPENGL=software as a temporary workaround.<br />
Application Logs: Check the application logs for more detailed error messages that might point to the root cause.</p>
]]></description><link>https://forum.qt.io/post/807381</link><guid isPermaLink="true">https://forum.qt.io/post/807381</guid><dc:creator><![CDATA[JoeCFD]]></dc:creator><pubDate>Thu, 15 Aug 2024 11:02:59 GMT</pubDate></item><item><title><![CDATA[Reply to There is something wrong with QOpenGLWidget on Wed, 14 Aug 2024 23:51:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a> said in <a href="/post/807352">There is something wrong with QOpenGLWidget</a>:</p>
<blockquote>
<p dir="auto">What exactly are you doing with that widget ?</p>
</blockquote>
<p dir="auto">I'm sure that I did nothing. Also the demo of qt creator which use QOpenGLWidget don't work.</p>
]]></description><link>https://forum.qt.io/post/807362</link><guid isPermaLink="true">https://forum.qt.io/post/807362</guid><dc:creator><![CDATA[Jerry Le]]></dc:creator><pubDate>Wed, 14 Aug 2024 23:51:52 GMT</pubDate></item><item><title><![CDATA[Reply to There is something wrong with QOpenGLWidget on Wed, 14 Aug 2024 18:41:52 GMT]]></title><description><![CDATA[<p dir="auto">What exactly are you doing with that widget ?</p>
]]></description><link>https://forum.qt.io/post/807352</link><guid isPermaLink="true">https://forum.qt.io/post/807352</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Wed, 14 Aug 2024 18:41:52 GMT</pubDate></item><item><title><![CDATA[Reply to There is something wrong with QOpenGLWidget on Tue, 13 Aug 2024 01:19:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a> However, softwares depending on QGraphicsscene and opengl are ok</p>
]]></description><link>https://forum.qt.io/post/807186</link><guid isPermaLink="true">https://forum.qt.io/post/807186</guid><dc:creator><![CDATA[Jerry Le]]></dc:creator><pubDate>Tue, 13 Aug 2024 01:19:07 GMT</pubDate></item><item><title><![CDATA[Reply to There is something wrong with QOpenGLWidget on Mon, 12 Aug 2024 18:22:18 GMT]]></title><description><![CDATA[<p dir="auto">Because that is not the driver for your graphics card. That's the thing you should check.</p>
]]></description><link>https://forum.qt.io/post/807171</link><guid isPermaLink="true">https://forum.qt.io/post/807171</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Mon, 12 Aug 2024 18:22:18 GMT</pubDate></item><item><title><![CDATA[Reply to There is something wrong with QOpenGLWidget on Mon, 12 Aug 2024 07:08:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a> Thanks for your suggestion. I tried to copy opengl32.dll from the computer of my colleague where the softwares run perfectly. The result was not good.</p>
]]></description><link>https://forum.qt.io/post/807128</link><guid isPermaLink="true">https://forum.qt.io/post/807128</guid><dc:creator><![CDATA[Jerry Le]]></dc:creator><pubDate>Mon, 12 Aug 2024 07:08:32 GMT</pubDate></item><item><title><![CDATA[Reply to There is something wrong with QOpenGLWidget on Sat, 10 Aug 2024 17:40:43 GMT]]></title><description><![CDATA[<p dir="auto">Hi and welcome to devnet,</p>
<p dir="auto">One possible thing is an update to your graphics driver. You should start by checking this. Then either upgrade or downgrade it depending if it's the latest version or if a new one is available.</p>
]]></description><link>https://forum.qt.io/post/807070</link><guid isPermaLink="true">https://forum.qt.io/post/807070</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Sat, 10 Aug 2024 17:40:43 GMT</pubDate></item></channel></rss>