Questions tagged [qtopengl]

The QtOpenGL module offers classes that provide a C++ interface to OpenGL in Qt applications.

OpenGL is a standard API for rendering 3D graphics. OpenGL only deals with 3D rendering and provides little or no support for GUI programming issues. The user interface for an OpenGL application must be created with another toolkit, such as Motif on the X platform, Microsoft Foundation Classes (MFC) under Windows, or Qt on both platforms.

Note: OpenGL is a trademark of Silicon Graphics, Inc. in the United States and other countries.

The Qt OpenGL module makes it easy to use OpenGL in Qt applications. It provides an OpenGL widget class that can be used just like any other Qt widget, except that it opens an OpenGL display buffer where you can use the OpenGL API to render the contents.

Reference: http://qt-project.org/doc/qt-4.8/qtopengl.html

98 questions
0
votes
1 answer

Data visualization with qt and qtopengl

I understand that "Data visualization or data visualisation is the creation and study of the visual representation of data, meaning "information that has been abstracted in some schematic form, including attributes or variables for the units of…
-1
votes
0 answers

OpenGLContext - why is the requested swapbehavior nor accepted?

I'm working on a Qt 5.15 OpenGL application running on my raspberry 4B with Raspian. I'm using a library for plotting realtime waveform that works perfectly on different machines/OS like windows or Linux. I tried to find the part in the code that…
KR51K
  • 1
  • 1
-1
votes
1 answer

How to render a OpenGL 2D texture on a QML surface?

I have a valid OpenGL 2D texture. What is the best and simplest way to render it on a QML surface? Any simple Qt example(s) that I can refer to? Basically I have the texture ID which is a GLuint. I do have access to the application's QOpenGLContext*…
TheWaterProgrammer
  • 7,055
  • 12
  • 70
  • 159
-1
votes
1 answer

Assertion failure when calling "initializeGLFunctions()"

I'm currently trying to learn how to use QTWidgets (version 6.4.2) in C++ in VS2022. Right now, I'm trying to just run a simple ui I created in the QT designer. On the window, I have a QOpenGLWidget that I want to use to display graphics. I have…
chaotic
  • 21
  • 3
-1
votes
1 answer

How to change the resolution from static to dynamic in fragment shader

I have working fragment shader for resolution 1920x1080. However, I want to change to a dynamic resolution whatever user select. I have referred < http://www.fourcc.org/source/YUV420P-OpenGL-GLSLang.c > this link and modified the line…
-1
votes
1 answer

QWidget::paintEngine being called from QCoreApplication::processEvents

I'm converting an OSX application from Qt 4/Carbon to Qt5.11 with the QOpenGLWidget. I've moved the drawing "calls" to my overridden QOpenGlWidget::paintGL(). The problem is I'm still getting these messages on the console: QWidget::paintEngine:…
Michael Wilson
  • 800
  • 8
  • 15
-1
votes
1 answer

Qt OpenGl context on raspberry pi

I'm writing a program that with Qt5 opengl context. It works well on my desktop (fedora 23). But i have to run it on the pi 2. So i download Qt5 every where source code and compiled it natively on the pi. When i tried to compile and run my program…
hamed1soleimani
  • 304
  • 1
  • 2
  • 13
-1
votes
1 answer

Point drawed over texture doesn't get the desired colour

Important: I have to work with the fixed pipeline (I have no voice in this matter). I have to modify some existing OpenGL code (a panoramic picture viewer, where the panorama is split into the six faces of a cube) so we're able to draw lines/points…
Adri C.S.
  • 2,909
  • 5
  • 36
  • 63
1 2 3 4 5 6
7