<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <blockquote type="cite"
      cite="mid:4677ef8d-8628-ae58-20ae-cea941eaa5d5@holobit.net">
      <p><tt>Really don't know :) Never played with OpenGL. Try to
          instantiate QApplication, create QWindow and via it's
          QSurfaceType set to OpenGL .. and see what happens :)
        </tt><tt><br>
        </tt>
        <tt><br>
        </tt><tt>zeljko
        </tt><tt><br>
        </tt>
        <tt><br>
        </tt>
      </p>
    </blockquote>
    <p><tt>For OpenGLĀ  we need "QOpenGLContext" only ;) <br>
      </tt></p>
    <p><tt>All function glXX are from "GL/gl.h"<br>
      </tt></p>
    <p><tt>Sample application in QT </tt></p>
    <p><tt><span style=" color:#000080;"></span></tt></p>
    <p><tt><span style=" color:#000080;"></span></tt></p>
    <span style=" color:#000080;">////////////////////////////////////////////////////////////
    </span><br>
    <pre style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">//////////////// main.cpp</pre>
    <span style=" color:#000080;">#</span>include<span style="
      color:#c0c0c0;"> </span><span style=" color:#008000;"><</span>QApplication<span
      style=" color:#008000;">></span>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#000080;">#</span>include<span style=" color:#c0c0c0;"> </span><span style=" color:#008000;"><</span>QWindow<span style=" color:#008000;">></span></pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#000080;">#</span>include<span style=" color:#c0c0c0;"> </span><span style=" color:#008000;"><</span>QOpenGLContext<span style=" color:#008000;">></span></pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">//#include <QOpenGLFunctions></pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#000080;">#</span>include<span style=" color:#c0c0c0;"> </span><span style=" color:#008000;"><</span>GL<span style=" color:#008000;">/</span>gl<span style=" color:#008000;">.</span>h<span style=" color:#008000;">></span><span style=" color:#c0c0c0;">  </span>// </pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#808000;">int</span><span style=" color:#c0c0c0;"> </span><span style=" color:#000080;">main</span><span style=" color:#000000;">(</span><span style=" color:#808000;">int</span><span style=" color:#c0c0c0;"> </span><span style=" color:#000000;">argc</span><span style=" color:#000000;">,</span><span style=" color:#c0c0c0;"> </span><span style=" color:#808000;">char</span><span style=" color:#c0c0c0;"> </span><span style=" color:#000000;">*</span><span style=" color:#000000;">argv</span><span style=" color:#000000;">[])</span></pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#000000;">{</span></pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">    </span><span style=" color:#800080;">QApplication</span><span style=" color:#c0c0c0;"> </span><span style=" color:#000000;">a</span><span style=" color:#000000;">(</span><span style=" color:#000000;">argc</span><span style=" color:#000000;">,</span><span style=" color:#c0c0c0;"> </span><span style=" color:#000000;">argv</span><span style=" color:#000000;">);</span></pre>
    <pre style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">    </span><span style=" color:#800080;">QWindow</span><span style=" color:#c0c0c0;"> </span><span style=" color:#000000;">*</span><span style=" color:#000000;">embed</span><span style=" color:#000000;">;</span></pre>
    <pre style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">    </span><span style=" color:#000000;">embed</span><span style=" color:#c0c0c0;"> </span><span style=" color:#000000;">=</span><span style=" color:#c0c0c0;"> </span><span style=" color:#808000;">new</span><span style=" color:#c0c0c0;"> </span><span style=" color:#800080;">QWindow</span><span style=" color:#000000;">;</span></pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">    </span><span style=" color:#000000;">embed</span><span style=" color:#000000;">-></span><span style=" color:#c0c0c0;"> </span><span style=" color:#000000;">setSurfaceType</span><span style=" color:#000000;">(</span><span style=" color:#800080;">QWindow</span><span style=" color:#000000;">::</span><span style=" color:#800080;">OpenGLSurface</span><span style=" color:#000000;">);</span></pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">    </span><span style=" color:#000000;">embed</span><span style=" color:#000000;">-></span><span style=" color:#c0c0c0;"> </span><span style=" color:#000000;">setGeometry</span><span style=" color:#000000;">(</span><span style=" color:#800080;">QRect</span><span style=" color:#000000;">(</span>50<span style=" color:#000000;">,</span>50<span style=" color:#000000;">,</span><span style=" color:#c0c0c0;"> </span>640<span style=" color:#000000;">,</span><span style=" color:#c0c0c0;"> </span>480<span style=" color:#000000;">));</span></pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">    </span><span style=" color:#000000;">embed</span><span style=" color:#000000;">-></span><span style=" color:#000000;">setVisible</span><span style=" color:#000000;">(</span><span style=" color:#808000;">true</span><span style=" color:#000000;">);</span></pre>
    <pre style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</pre>
    <pre style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">    </span><span style=" color:#800080;">QOpenGLContext</span><span style=" color:#c0c0c0;"> </span><span style=" color:#000000;">*</span><span style=" color:#000000;">m_context</span><span style=" color:#000000;">;</span></pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">    </span><span style=" color:#000000;">m_context</span><span style=" color:#c0c0c0;"> </span><span style=" color:#000000;">=</span><span style=" color:#c0c0c0;"> </span><span style=" color:#808000;">new</span><span style=" color:#c0c0c0;"> </span><span style=" color:#800080;">QOpenGLContext</span><span style=" color:#000000;">();</span></pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">    </span><span style=" color:#000000;">m_context</span><span style=" color:#000000;">-></span><span style=" color:#000000;">create</span><span style=" color:#000000;">();</span></pre>
    <pre style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</pre>
    <pre style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">    </span><span style=" color:#000000;">m_context</span><span style=" color:#000000;">-></span><span style=" color:#000000;">makeCurrent</span><span style=" color:#000000;">(</span><span style=" color:#000000;">embed</span><span style=" color:#000000;">);</span></pre>
    <pre style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">    </span>// <QOpenGLFunctions> version</pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">    </span>//QOpenGLFunctions *f = m_context->functions();</pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">    </span>//f->glClearColor(1.0,0,0,1.0);</pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">    </span>//f->glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);</pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">    </span>// <GL/gl.h> VERSION</pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">    </span><span style=" color:#000000;">glClearColor</span><span style=" color:#000000;">(</span>1.0<span style=" color:#000000;">,</span>0<span style=" color:#000000;">,</span>0<span style=" color:#000000;">,</span>1.0<span style=" color:#000000;">);</span></pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">    </span><span style=" color:#000000;">glClear</span><span style=" color:#000000;">(</span><span style=" color:#000080;">GL_COLOR_BUFFER_BIT</span><span style=" color:#c0c0c0;"> </span><span style=" color:#000000;">|</span><span style=" color:#c0c0c0;"> </span><span style=" color:#000080;">GL_DEPTH_BUFFER_BIT</span><span style=" color:#000000;">);</span></pre>
    <pre style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</pre>
    <pre style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">    </span>// Define shapes enclosed within a pair of glBegin and glEnd</pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">    </span><span style=" color:#000000;">glBegin</span><span style=" color:#000000;">(</span><span style=" color:#000080;">GL_QUADS</span><span style=" color:#000000;">);</span><span style=" color:#c0c0c0;">              </span>// Each set of 4 vertices form a quad</pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">       </span><span style=" color:#000000;">glColor3f</span><span style=" color:#000000;">(</span>1.0f<span style=" color:#000000;">,</span><span style=" color:#c0c0c0;"> </span>0.0f<span style=" color:#000000;">,</span><span style=" color:#c0c0c0;"> </span>0.0f<span style=" color:#000000;">);</span><span style=" color:#c0c0c0;"> </span>// Red</pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">       </span><span style=" color:#000000;">glVertex2f</span><span style=" color:#000000;">(-</span>0.8f<span style=" color:#000000;">,</span><span style=" color:#c0c0c0;"> </span>0.1f<span style=" color:#000000;">);</span><span style=" color:#c0c0c0;">     </span>// Define vertices in counter-clockwise (CCW) order</pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">       </span><span style=" color:#000000;">glVertex2f</span><span style=" color:#000000;">(-</span>0.2f<span style=" color:#000000;">,</span><span style=" color:#c0c0c0;"> </span>0.1f<span style=" color:#000000;">);</span><span style=" color:#c0c0c0;">     </span>//  so that the normal (front-face) is facing you</pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">       </span><span style=" color:#000000;">glVertex2f</span><span style=" color:#000000;">(-</span>0.2f<span style=" color:#000000;">,</span><span style=" color:#c0c0c0;"> </span>0.7f<span style=" color:#000000;">);</span></pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">       </span><span style=" color:#000000;">glVertex2f</span><span style=" color:#000000;">(-</span>0.8f<span style=" color:#000000;">,</span><span style=" color:#c0c0c0;"> </span>0.7f<span style=" color:#000000;">);</span></pre>
    <pre style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">       </span><span style=" color:#000000;">glColor3f</span><span style=" color:#000000;">(</span>0.0f<span style=" color:#000000;">,</span><span style=" color:#c0c0c0;"> </span>1.0f<span style=" color:#000000;">,</span><span style=" color:#c0c0c0;"> </span>0.0f<span style=" color:#000000;">);</span><span style=" color:#c0c0c0;"> </span>// Green</pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">       </span><span style=" color:#000000;">glVertex2f</span><span style=" color:#000000;">(-</span>0.7f<span style=" color:#000000;">,</span><span style=" color:#c0c0c0;"> </span><span style=" color:#000000;">-</span>0.6f<span style=" color:#000000;">);</span></pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">       </span><span style=" color:#000000;">glVertex2f</span><span style=" color:#000000;">(-</span>0.1f<span style=" color:#000000;">,</span><span style=" color:#c0c0c0;"> </span><span style=" color:#000000;">-</span>0.6f<span style=" color:#000000;">);</span></pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">       </span><span style=" color:#000000;">glVertex2f</span><span style=" color:#000000;">(-</span>0.1f<span style=" color:#000000;">,</span><span style=" color:#c0c0c0;">  </span>0.0f<span style=" color:#000000;">);</span></pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">       </span><span style=" color:#000000;">glVertex2f</span><span style=" color:#000000;">(-</span>0.7f<span style=" color:#000000;">,</span><span style=" color:#c0c0c0;">  </span>0.0f<span style=" color:#000000;">);</span></pre>
    <pre style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">       </span><span style=" color:#000000;">glColor3f</span><span style=" color:#000000;">(</span>0.2f<span style=" color:#000000;">,</span><span style=" color:#c0c0c0;"> </span>0.2f<span style=" color:#000000;">,</span><span style=" color:#c0c0c0;"> </span>0.2f<span style=" color:#000000;">);</span><span style=" color:#c0c0c0;"> </span>// Dark Gray</pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">       </span><span style=" color:#000000;">glVertex2f</span><span style=" color:#000000;">(-</span>0.9f<span style=" color:#000000;">,</span><span style=" color:#c0c0c0;"> </span><span style=" color:#000000;">-</span>0.7f<span style=" color:#000000;">);</span></pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">       </span><span style=" color:#000000;">glColor3f</span><span style=" color:#000000;">(</span>1.0f<span style=" color:#000000;">,</span><span style=" color:#c0c0c0;"> </span>1.0f<span style=" color:#000000;">,</span><span style=" color:#c0c0c0;"> </span>1.0f<span style=" color:#000000;">);</span><span style=" color:#c0c0c0;"> </span>// White</pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">       </span><span style=" color:#000000;">glVertex2f</span><span style=" color:#000000;">(-</span>0.5f<span style=" color:#000000;">,</span><span style=" color:#c0c0c0;"> </span><span style=" color:#000000;">-</span>0.7f<span style=" color:#000000;">);</span></pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">       </span><span style=" color:#000000;">glColor3f</span><span style=" color:#000000;">(</span>0.2f<span style=" color:#000000;">,</span><span style=" color:#c0c0c0;"> </span>0.2f<span style=" color:#000000;">,</span><span style=" color:#c0c0c0;"> </span>0.2f<span style=" color:#000000;">);</span><span style=" color:#c0c0c0;"> </span>// Dark Gray</pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">       </span><span style=" color:#000000;">glVertex2f</span><span style=" color:#000000;">(-</span>0.5f<span style=" color:#000000;">,</span><span style=" color:#c0c0c0;"> </span><span style=" color:#000000;">-</span>0.3f<span style=" color:#000000;">);</span></pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">       </span><span style=" color:#000000;">glColor3f</span><span style=" color:#000000;">(</span>1.0f<span style=" color:#000000;">,</span><span style=" color:#c0c0c0;"> </span>1.0f<span style=" color:#000000;">,</span><span style=" color:#c0c0c0;"> </span>1.0f<span style=" color:#000000;">);</span><span style=" color:#c0c0c0;"> </span>// White</pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">       </span><span style=" color:#000000;">glVertex2f</span><span style=" color:#000000;">(-</span>0.9f<span style=" color:#000000;">,</span><span style=" color:#c0c0c0;"> </span><span style=" color:#000000;">-</span>0.3f<span style=" color:#000000;">);</span></pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">    </span><span style=" color:#000000;">glEnd</span><span style=" color:#000000;">();</span></pre>
    <pre style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">    </span><span style=" color:#000000;">m_context</span><span style=" color:#000000;">-></span><span style=" color:#000000;">swapBuffers</span><span style=" color:#000000;">(</span><span style=" color:#000000;">embed</span><span style=" color:#000000;">);</span></pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#c0c0c0;">    </span><span style=" color:#808000;">return</span><span style=" color:#c0c0c0;"> </span><span style=" color:#000000;">a</span><span style=" color:#000000;">.</span><span style=" color:#000000;">exec</span><span style=" color:#000000;">();</span></pre>
    <pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#000000;">}</span></pre>
    <pre style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#000080;">////////////////////////////////////////////////////////////
</span><span style=" color:#008000;">#-------------------------------------------------</span>
<span style=" color:#008000;">#</span>
<span style=" color:#008000;">#</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">Project</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">created</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">by</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">QtCreator</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">2017-05-26T18:32:13</span>
<span style=" color:#008000;">#</span>
<span style=" color:#008000;">#-------------------------------------------------</span>
<span style=" color:#800080;">QT</span><span style=" color:#c0c0c0;">       </span>+=<span style=" color:#c0c0c0;"> </span>core<span style=" color:#c0c0c0;"> </span>gui
<span style=" color:#800080;">LIBS</span><span style=" color:#c0c0c0;"> </span>+=<span style=" color:#c0c0c0;"> </span>-lglut<span style=" color:#c0c0c0;"> </span>-lopengl32
<span style=" color:#808000;">greaterThan</span>(<span style=" color:#800080;">QT_MAJOR_VERSION</span>,<span style=" color:#c0c0c0;"> </span>4):<span style=" color:#c0c0c0;"> </span><span style=" color:#800080;">QT</span><span style=" color:#c0c0c0;"> </span>+=<span style=" color:#c0c0c0;"> </span>widgets
<span style=" color:#800080;">TARGET</span><span style=" color:#c0c0c0;"> </span>=<span style=" color:#c0c0c0;"> </span>nienazwany1
<span style=" color:#800080;">TEMPLATE</span><span style=" color:#c0c0c0;"> </span>=<span style=" color:#c0c0c0;"> </span>app
<span style=" color:#800080;">SOURCES</span><span style=" color:#c0c0c0;"> </span>+=<span style=" color:#c0c0c0;"> </span>main.cpp</pre>
    <span style=" color:#000000;"></span>
    <p><span style=" color:#000000;"></span></p>
    <p>
    </p>
  </body>
</html>