<?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[Minimal [QGLWidget + ui] code]]></title><description><![CDATA[<p dir="auto">Hello Fellas, i started learning OpenGL2 recently and trying to understand how to implement it inside a Qt project, i know there are many tutorials and examples out there, but i didn't manage to find the minimal requirments (some kind of a "(0,0) dot" for an opengl in Qt) including both QWidget and QGLWdget (inside the previous).</p>
<p dir="auto">i ask for the shortest example for a code to implement that QGLWidget (empty, no need for geometry) to fit inside a .ui form, for Qt5. The simpler the better to understand. thanks in advance and cheers.</p>
<p dir="auto">(Linux btw)</p>
]]></description><link>https://forum.qt.io/topic/50898/minimal-qglwidget-ui-code</link><generator>RSS for Node</generator><lastBuildDate>Wed, 19 Aug 2026 02:43:53 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/50898.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 05 Feb 2015 19:13:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Minimal [QGLWidget + ui] code on Fri, 06 Feb 2015 05:42:28 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I recommend using "QOpenGLWidget":<a href="http://doc.qt.io/qt-5/qopenglwidget.html" target="_blank" rel="noopener noreferrer nofollow ugc">http://doc.qt.io/qt-5/qopenglwidget.html</a> from Qt 5.4. QGLWidget is now deprecated.</p>
<p dir="auto">See the "beginners' tutorial":<a href="http://doc.qt.io/qt-5/gettingstartedqt.html" target="_blank" rel="noopener noreferrer nofollow ugc">http://doc.qt.io/qt-5/gettingstartedqt.html</a> for creating a widget project. Jump down to <em>"Using Qt Designer"</em>, and replace the "Text Edit" with "OpenGL Widget".</p>
]]></description><link>https://forum.qt.io/post/260569</link><guid isPermaLink="true">https://forum.qt.io/post/260569</guid><dc:creator><![CDATA[JKSH]]></dc:creator><pubDate>Fri, 06 Feb 2015 05:42:28 GMT</pubDate></item></channel></rss>