<?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[OpenGL Accelerated Series work only from Qt Creator]]></title><description><![CDATA[<p dir="auto">My system is: Windows 7, with Qt 5.11.1, QtCreator 4.7, MinGW 5.3</p>
<p dir="auto">I'm displaying many LineSeries (depending on the configuration from 1 to 21) on a QChart,  with new points every ~20ms.</p>
<p dir="auto">For performance reasons I need to use OpenGL acceleration, which I can set by:</p>
<pre><code>setUseOpenGL(1)
</code></pre>
<p dir="auto">If I start the compiled program <strong>from QtCreator</strong> (Ctrl+R) it works correctly, since the "graphic" of the points changes, and the performance is increased.</p>
<p dir="auto"><em>If I run the compiled exe <strong>from windows</strong>, it does not.</em></p>
<p dir="auto">Assuming a DLL is missing (even tho', I get no errors whatsoever) I copied:</p>
<pre><code>opengl32sw.dll
libGLESv2.dll
libEGL.dll
Qt5OpenGLd.dll
Qt5OpenGL.dll
</code></pre>
<p dir="auto">But nothing has changed, the performance is low and the graphic is the "common one".</p>
<p dir="auto">Do you have any idea on what I am doing wrong?</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.qt.io/topic/92989/opengl-accelerated-series-work-only-from-qt-creator</link><generator>RSS for Node</generator><lastBuildDate>Fri, 26 Jun 2026 13:09:55 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/92989.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 24 Jul 2018 10:23:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to OpenGL Accelerated Series work only from Qt Creator on Wed, 25 Jul 2018 10:36:40 GMT]]></title><description><![CDATA[<p dir="auto">Ok, following my last post I solved the issue.</p>
<p dir="auto">Qt Creator sets in the environment variables:</p>
<pre><code>QT_OPENGL = angle
</code></pre>
<p dir="auto">which was not set automatically in Windows.</p>
<p dir="auto">I simply tried</p>
<pre><code>set QT_OPENGL = angle
</code></pre>
<p dir="auto">in the console, and then I run the program (from the console). Now it works correctly.</p>
<p dir="auto">I believe Qt should implement some notification if setUseOpenGL fails for some reason tho' :-)</p>
<p dir="auto">Cheers</p>
]]></description><link>https://forum.qt.io/post/471955</link><guid isPermaLink="true">https://forum.qt.io/post/471955</guid><dc:creator><![CDATA[mBoot]]></dc:creator><pubDate>Wed, 25 Jul 2018 10:36:40 GMT</pubDate></item><item><title><![CDATA[Reply to OpenGL Accelerated Series work only from Qt Creator on Wed, 25 Jul 2018 10:04:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a> Thank you for your answer.<br />
I did not know windeployqt, I had found many people suggesting using  Dependency Walker and that's what I did :).</p>
<p dir="auto">Anyway, I've just run it, it copied a bunch of stuff and created directories in the exe folder.</p>
<p dir="auto">BUT, <strong>sadly the problem is still there</strong>.</p>
<p dir="auto">Maybe Qt Creator sets some enviromental variables?</p>
]]></description><link>https://forum.qt.io/post/471893</link><guid isPermaLink="true">https://forum.qt.io/post/471893</guid><dc:creator><![CDATA[mBoot]]></dc:creator><pubDate>Wed, 25 Jul 2018 10:04:25 GMT</pubDate></item><item><title><![CDATA[Reply to OpenGL Accelerated Series work only from Qt Creator on Tue, 24 Jul 2018 22:10:36 GMT]]></title><description><![CDATA[<p dir="auto">Hi and welcome to devnet,</p>
<p dir="auto">How are you doing the deployment ?<br />
Did you already check <a href="http://doc.qt.io/qt-5/windows-deployment.html#the-windows-deployment-tool" target="_blank" rel="noopener noreferrer nofollow ugc">windeployqt</a> ?</p>
]]></description><link>https://forum.qt.io/post/471832</link><guid isPermaLink="true">https://forum.qt.io/post/471832</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Tue, 24 Jul 2018 22:10:36 GMT</pubDate></item></channel></rss>