<div dir="ltr"><div dir="ltr">Yesterday, I encountered this QT_OPENGL issue when upgrading to the latest master (had been using VTK 8.1). The just-released QtCreator 4.7.1 no longer forces this to be 'angle' by default.<div><br></div><div><a href="http://blog.qt.io/blog/2018/09/20/qt-creator-4-7-1-released">http://blog.qt.io/blog/2018/09/20/qt-creator-4-7-1-released</a><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Sep 13, 2018 at 6:21 AM meakcey <<a href="mailto:meakcey@gmail.com">meakcey@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I could not implement your suggestion<br>
I have tried something like that on main.cpp<br>
<br>
#include "mainwindow.h"<br>
#include <QApplication><br>
<br>
#include <QSurfaceFormat><br>
#include <QVTKOpenGLWidget.h><br>
<br>
int main(int argc, char *argv[])<br>
{<br>
QSurfaceFormat::setDefaultFormat(QVTKOpenGLWidget::defaultFormat());<br>
QApplication a(argc, argv);<br>
MainWindow w;<br>
w.show();<br>
return a.exec();<br>
}<br>
<br>
But that did not work.<br>
<br>
When I looked at the system environment settings of Qt, I have seen there is<br>
a variable like QT_OPENGL = angle<br>
I have changed that to "desktop" and it worked.<br>
<br>
Thank you<br>
<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html</a><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">https://public.kitware.com/mailman/listinfo/vtkusers</a><br>
</blockquote></div>